-
Notifications
You must be signed in to change notification settings - Fork 81
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
subscribeConnectionStatus on Android release build crashes due to null safety #129
Comments
Hey @brim-borium sorry to disturb, may you have a view at this issue |
@Sidak100 can you reproduce the same issue with the example app and the latest version from the |
Yes I tried the same with example app, still same issue. Regarding configuring I tried method provided in #99 |
@Sidak100 how are you building the app? In release mode no logs are printed. Can you please describe in detail the steps you do? |
The app working is simple, it subscribes to connection status and when connection is sucess or gets true it does certain things like bring the user data ~same as example app. |
The same thing happens to me. Managed to solve? |
Try these commands for release build
or
Although I didn't tried since I am out of home but let me know immediately if it works 👊🏻 |
it didn't work Sorry for the delay, but I'm in a different time zone, I'm in Brazil. |
@alanhmartins found the issue: Because of obfuscating on the android side on release branches, some model keys had been renamed during the release build and that lead to a problem during decoding of the returning jsons Should be fixed with #146 |
Thanks a lot buddy 👊🏻 |
@Sidak100 @alanhmartins |
Describe the bug
subscribeConnectionStatus does not work or crashes due to null safety on Android Release Build but in debug mode works properly. I am currently on version 2.1.0 ~latest and here is the log when it crashes due to null safety:
To Reproduce
Steps to reproduce the behavior:
SpotifySdk.subscribeConnectionStatus()
Expected behavior
Error due to Null Safety or nothing happens
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: