SDK compatibility of nrf52840 with newer android versions

I am working on BLE Image transfer from nrf52840 to android application. I am facing one strange issue with the github repo https://github.com/NordicPlayground/Android-Image-Transfer-Demo . I was testing this for compile and target SDK 34 but I found out that while scanning, the device can be discovered and shown in app till SDK 28 and on changing the version to 29+ SDK, it suddenly disappears and the stopLeScan() is called which eventually gives 'scanning for device always'. I tested this issue with multiple log statements for debugging and could not find the issue. Is this compatibility issue? 
Also as I wanted to add more features like firebase and few more other new features so while adding dependencies for those, app crashes and gives unknown error.
Is there any way to resolve this issue because I am trying to integrate this given repo code with my existing code.

Parents Reply Children
No Data
Related