infobip/mobile-messaging-react-native-plugin — reverse-engineered prompt
Reverse engineered prompt
Build me a React Native plugin that lets an app receive Infobip Mobile Messaging push notifications on both iOS and Android.
I want it to be easy for another React Native project to install from npm, import one mobileMessaging object, and call an init function with an Infobip application code. It should handle success and error callbacks, include TypeScript definitions, and expose the native setup needed for push notifications.
Please include the native iOS and Android parts, an example app showing how to initialize it, and clear README instructions for setup. iOS should cover CocoaPods, AppDelegate setup, push notification capability, and rich notification support. Android should cover Firebase config, Google services setup, Android notification permission notes, and the required SDK versions.
Keep the public API simple and practical. Look up current React Native, iOS, Android, CocoaPods, and Infobip docs online if you need to.
Want more depth? Deep Reverse