简体   繁体   中英

How to remove in OneSignal modal view which appears in the Android app, when app is opened and user is receiving PN in that moment? (react-native)

I'm using OneSignal for push notification in my react-native app.

Is it possible to remove modal view which appears in the Android app, when app is opened and user is receiving PN in that moment?

I want to use my own modal view instead. I checked official documentation, but didn't find any information about it.

<code>在此处输入图片描述</ code>

I found the solution, in order to remove this modal view in Android use:

OneSignal.inFocusDisplaying(2)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM