in <https://documentation.onesignal.com/docs/andro...
# coroutines
i
in https://documentation.onesignal.com/docs/android-sdk-setup#2-initialization, I am supposed to call this OneSignal.Notifications.requestPermission is the suspend method in the Android Application class. What is a proper call for it?
s
If async init is fine, probably create app-level coroutine scope and initialize it there. Otherwise, no other way I can think of but
runBlocking
🤷