i tried both built in notification and notification builder
both on API 26 recreating the activity when i click on the notification even if the activity is active
any idea how to just resume the activity as usual ?
Yes, but not a lot. Two-three hours, mainly manifest. + Services are "Oreo-ready".
Most of us made changes - nothing terrible.
Just now it's necessary to think about API26+ - all new smartphones during last year have Android 8.0/8.1.
i tried both built in notification and notification builder
both on API 26 recreating the activity when i click on the notification even if the activity is active
I know about Activity life cycle , in my case the activity not destroyed to be created again
updated to B4A 8.5 it is ok if the notification calling the last active activity , if not the activity recreated
changed manifest for the activity android:launchMode to singleTask instead of singleTop fixed the problem
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.