Closed isi-lincoln closed 5 months ago
Hi @isi-lincoln - thanks for the report. Are you able to compile / run without a crash if you don't change the target and compile version? Without investigation, I suspect the API changed at SDK 34. You should be able to build the app without upgrading the SDK.
I'm thinking you may have compiled this yourself to avoid the Play Store - if that's not the case, do you experience crashes on the Play Store build?
Hello John,
I've re-compiled the code targeting SDK API 33 and you are correct that the app does not crash. You are welcome to close the issue as you see fit.
I'm thinking you may have compiled this yourself to avoid the Play Store
That is correct - my device cannot connect to the Google Play Store.
Thank you for your insight and response.
Thanks @isi-lincoln! I'm going to close this out as it's not a bug in the existing code per se, but will keep it in mind when we upgrade the SDK. :) Appreciate the info.
This may be a case of PEBKAC and I apologize if this is not relevant as I do not develop on android.
After building the apk and running it on my Android 34 device (changing the grandle build settings for
compileSdkVersion
andtargetSdkVersion
from the default 33 value to 34), it would immediately crash with the following error message:I modified the registerReceiver calls in the kotlin code base (indicated below in my diff) to include the
RECEIVER_EXPORTED
int flag.I'm honestly not sure if it should be EXPORTED or UNEXPORTED, however I found this modification enough to allow the application to open without crashing.