To enable push notifications for Flutter and React Native projects, simply follow the instructions below to update the native app configurations for each platform.
iOS
- Navigate to the iOS Project Directory:
- Open your terminal and navigate to your iOS project directory.
- Update CocoaPods:
- Run the following command to ensure you are using the latest version of CocoaPods:
shellpod update
- Open Xcode Workspace:
- Open the
.xcworkspace
file in Xcode:
- Update App Delegate:
- Follow the instructions provided in the iOS Mobile Push SDK guide to update your App Delegate file accordingly.
Android
- Update OneFlow SDK:
- Ensure you are using the latest version of the OneFlow SDK. Update your
build.gradle
file to include the latest SDK version.
- Open Android Workspace:
- Navigate to android project directory, open directory in android studio.
- Follow Android Mobile Push SDK Instructions:
- Refer to the Android Mobile Push SDK guide and follow the instructions to integrate and configure the SDK properly.
By following these steps, you will ensure that your iOS and Android projects are updated with the latest dependencies and configurations for mobile push notifications.