Use Android Fabric Crashlytics with different API keys on each process -


we have android library work in separate process (uses service android:process tag in manifest) , i'm trying use fabric.io crash reporting on it.

currently we're developing app 3rd party uses library, it's moment test out.

currently i've added fabric crashlytics app main process using standard way:

fabric.with(this, new crashlytics()); 

and picks api key manifest.

my issue there's no constructor or builder can specify different api key other process, or if wanted use same api key project, haven't seen anywhere multi-process officially supported (and far saw using android studio decompiler, seems fabric saves files on disk doesn't seem appropriate multi-process application).

the maybe, possible path i've found pass contextwrapper fabric initialisation , intercept api key there. that's sounds lot of room error.

so questions:

  • is there way init fabric/crashlitics chosen api key? how?
  • if can't init apikey, safe use in multi-process? can use in 1-off app?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -