For further actions, you may consider blocking this person and/or reporting abuse
Read next
How to Deploy Multiple Versions of Your React Native App to TestFlight Using Xcode Cloud
Kigbu Amekalo -
The Ultimate Guide to Automating Android APK Builds and Firebase Distribution with Fastlane 🚀
Amit Kumar -
Optimize Your React Native App: Remove Console Logs for a Faster and Cleaner Build
Amit Kumar -
Integrating Live Activity and Dynamic Island in iOS: A Complete Guide
Nandani Sharma -
Top comments (1)
With iOS >= 10, you can show notification banner when app run foreground. To make it, you can add some line code in AppDelegate.m
//Called when a notification is delivered to a foreground app.
-(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void ()(UNNotificationPresentationOptions options))completionHandler
{
completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge);
}
Don't forget, import UserNotification in head:
import
Hope it work with you.