-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with fabric crash report #10
Comments
After dig into this problem (via step-by-step debug), I find out that the build with gradle will create a APK with a string resource named So the problem doesn't relate to fabric app secrete of ApiKey, it's the build id. Since this build id (an uuid I guess) is generated by fabric gradle plugin, and will be uploaded to fabric's server (I guess) during the gradle build, neither BUCK nor OkBuck could handle this problem. The workaround is to define a BuildConfig in build.gradle, with default value to disable fabric (not call B.T.W. I think gradle build is unavoidable because BUCK doesn't support multi-product flavor and other gradle build features, which are very useful when create release build. |
if you use gradlew via terminal, add for current productFlavor this string: |
@bagrusss thanks for the idea. Will add that to the wiki |
…o master * commit '59bc6fbe8b69da8ca16adbc600928eeafab69ed1': Publish v0.21.0 Migrate to kotlin in memory compiler support in buck (uber#450) Change how dependencies are resolved in preparation for Andrioid Gradle Plugin 3.x (uber#451) Switch the ordering of build config fields. (uber#449) Publish v0.20.10 Revert "Add empty resource rule if using resource union. (uber#438)"
After install successfully, the app crash with error below:
It seems the fabric app secret could not be read at runtime in buck build, which works well with gradle build.
The text was updated successfully, but these errors were encountered: