-
Notifications
You must be signed in to change notification settings - Fork 100
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
Android build fail when if productFlavors configurated #974
Comments
Hi @retyui! Thanks for reporting this issue and providing a very helpful description of the problem. We have been able to reproduce the issue from our side and created a PR with the fix (#975) and a snapshot that you can install using the command below: npm install https://github.com/Instabug/Instabug-React-Native\#snapshot/11.10.0-MOB-12305 |
it doesn't work
def sourceMapDest = 'build/generated/sourcemaps/react/release/index.android.bundle.map'
// build/generated/sourcemaps/react/staging/release/index.android.bundle.map |
@retyui Your snapshot is ready, you can install it using the same command as before: npm install https://github.com/Instabug/Instabug-React-Native\#snapshot/11.10.0-MOB-12305 Please test it and let us know if it fixes your issue so we can proceed with merging it or investigating it further. |
@a7medev did you tested it? For me it fails:
|
@retyui Sorry for the inconvenience. It was due to a slight change I introduced after testing it. I did fix it now and it should work fine if you reinstall it with the same command. Please let us know if there are any further issues. |
Now seems it's works ! but fail with the same error that I reported in another issue: #976
|
Can you use the same why how it was done on iOS? (instead of npx )
see: #978 |
This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions. |
@retyui This issue is now fixed in v11.12.0, please update to the latest version instead of using the snapshot 🙏🏼 |
Hi there, that's great when Instabug supports flavors for Android. But in my React Native app, the source map is generated on a little bit different folder. |
@a7medev |
Steps to Reproduce the Problem
Add
productFlavors
prod & stagingtry to clean build/assemble apk
it will fail
Cannot invoke method finalizedBy() on null object
more details:
Expected Behavior
no errors
Actual Behavior
Instabug integration code
no
SDK Version
the latest
React Native, iOS and Android Versions
android
Device Model
[Optional] Project That Reproduces the Issue
The text was updated successfully, but these errors were encountered: