Closed sidak003 closed 3 years ago
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 main
branch? Are you sure that you configured your project correctly? I was not able to reproduce it.
@Sidak100 can you reproduce the same issue with the example app and the latest version from the
main
branch? Are you sure that you configured your project correctly? I was not able to reproduce it.
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?
@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. Actually in release mode when I connect to spotify using remote, it gets the connection object as null which is supposed to be a boolean, this gives the log error as in 1st comment. Although it is connected to spotify I can play pause tracks but can't get status. In debug mode works fine no error no log.
The same thing happens to me. Managed to solve?
The same thing happens to me. Managed to solve?
Try these commands for release build
flutter build apk --no-shrink
or
flutter build apk --split-per-abi --no-shrink
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
@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 Just released v2.2.0 of the package, feel free to test if everything still works for you :)
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):