Sorry, wrong link. Here is the one I followed: https://www.codenameone.com/blog/switching-on-android-marshmallow-permission-prompts.html
On Tuesday, July 6, 2021 at 3:03:15 PM UTC-4 Hannah R wrote: > How to add custom permission messages? > > I followed this blog ( > https://www.codenameone.com/blog/tip-intercept-incoming-sms-on-android.html) > and added > Display.getInstance().setProperty("android.permission.ACCESS_COARSE_LOCATION", > > "We need access to your location"); into my init() method, but nothing > happened. I still get default dialogs when the permission is requested. > > Thank you. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/02eca7f9-d1f2-4428-b0df-7aca84da0f0an%40googlegroups.com.
