crashlytics

Fabric Crashlytics How to upload dSYM file in Jenkins with Xcode integration plugin

微笑、不失礼 提交于 2019-12-13 05:06:08
问题 ok, I use Jenkins + Xcode integration plugin to auto export iPA for tester to test. I want Jenkins to auto upload dSYM file to fabric server on every build. How to do it? Jenkins is running on my mac mini 2012 with mac os 10.11.1. I have install fabric.app on it, and the app is always running, and the project have a shell ./Fabric.framework/run xxxkey xxx But it sees not work? 回答1: Ok I find the problem is that the upload dSYM process is killed by jenkins. Jenkins kills all process spawn by

Firebase API key restriction not working with Android app package name and SHA1 fingerprint

点点圈 提交于 2019-12-12 21:25:19
问题 We are using Google Firebase to get CrashLytics data for our app, and the API key that is exposed through the google-services.json file was brought up as a security concern as the app apk file can be reverse engineered to get this file and then it can be used by an attacker to send data to our Firebase account. To avoid this, we tried to follow this documentation to restrict the API key usage such that it can only be used by our app. This is achieved by restricting it with the package name

Firebase crashlytics not reporting crash

删除回忆录丶 提交于 2019-12-12 18:25:25
问题 I'm upgrading from Fabric to Firebase crashlytics. I've added Firebase and Fabric/Crashlytics pods to my project, added the .plist etc. All seems to be working fine, except crashes are not being reported. I'm generating a crash using assert(! "crashing on purpose to test crashlytics"); as I saw someone else mention [[Crashlytics sharedInstance] crash] didn't work for them. What's interesting is the 'crash free users' for the build number I'm using drops to 0% after the crash is generated, but

How to disable Crashlytics for iOS during a runtime?

独自空忆成欢 提交于 2019-12-12 18:16:49
问题 Following this tutorial I am able to integrate Crashlytics into an iOS project. However, I would like to disable tracking when users that log in are from our company (by checking email domain for logged user) and only track our clients. Is it possible to disable Crashlytics based on some conditionals once the app is running? I couldn't find this option in docs. 回答1: You can't disable it during a runtime, however, you can prevent it from sending particular crash reports, using technique,

Crashlytics NDK multi androidNdkOut path support

北城以北 提交于 2019-12-12 13:00:29
问题 I use Fabric Crashlytic to impove my native code performance. I have multi .so library in both app project and jar library project. In my app's build.gradle,here it is: crashlytics { enableNdk true androidNdkOut '<myJarProjectPath>/src/main/obj' //or src/main/obj androidNdkLibsOut '<myJarProjectPath>/src/main/jniLibs' //or src/main/jniLibs } then I use "crashlyticsUploadSymbolsXXXXRelease" to package my app,and get ndk crash stacktrace in Fabric. But I can only config one of these .so library

Adopting CustomNSError in DecodingError

眉间皱痕 提交于 2019-12-12 09:52:57
问题 I'm writing an error logger using Crashlytics and I've come up against an issue that is making me question my understanding of protocols and dynamic dispatch. When recording non fatal errors using Crashlytics the API expects an Error conforming object, and an optional user info dictionary. I'm looking at JSON decoding errors at the moment, and I wasn't too happy with what I was seeing in the Crashlytics dashboard when I just sent the DecodingError along in recordError. So my solution was to

How to use Crashlytics with iMessage Extensions?

泪湿孤枕 提交于 2019-12-12 09:48:04
问题 I have an iMessage extension within my iOS app. Can Crashlytics capture its crashes? I've tried adding the same Fabric entry from my main app's Info.plist into my iMessage extension's Info.plist , and adding the following to my MSMessagesAppViewController subclass (as recommended for Today widget intregation): - (instancetype _Nonnull)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle

Crashlytics Android Studio plugin fails to initialize

…衆ロ難τιáo~ 提交于 2019-12-12 09:28:29
问题 I'm running Android Studio 0.5.1. I've downloaded the Crashlytics Android Studio plugin and installed it from the disc. When I restart Android Studio, I get the following exception Plugin 'com.crashlytics.tools.androidstudio' failed to initialize and will be disabled. Please restart Android Studio. java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java.lang

Understanding iOS Crash [SIGABRT ABORT]

限于喜欢 提交于 2019-12-12 08:58:35
问题 I just received my first crash report from Crashlytics and am attempting to correct the issue. Unfortunately it is only with a line of code that runs on older devices so I can't test it on my iPhone 6. The crash report from Crashlytics highlights two threads, the first reads: Fatal Exception: NSInvalidArgumentException -[CABasicAnimation altitude]: unrecognized selector sent to instance 0x17734440 While the second reads: Crashed: Map Update :: NSOperation 0x1a839470 SIGABRT ABORT at

Logging using Crashlytics

坚强是说给别人听的谎言 提交于 2019-12-12 08:21:42
问题 I am using multiple Crashlytics.log() commands, for example: Crashlytics.log("This is message 1"); Crashlytics.log("This is message 2"); But when there is a crash in the dashboard I can only see "This is message 1" but not "This is message 2". Does Crashlytics log only show the first log not any subsequent log after that or am I doing anything wrong? How can I use multiple Crashlytics.log() commands. 回答1: The log message will be saved with the exception. So the Crashlytics.log("1"); wont do