Skip to content

Commit

Permalink
chore: remove push Primer from IAM since its included in rmc-iam (RMC…
Browse files Browse the repository at this point in the history
…CX-6705)
  • Loading branch information
SoumenRautray authored Sep 9, 2024
1 parent d2f0cef commit 676099d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,26 +393,6 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
return true
}
```

### **Push Primer** [Under Construction]
Push Primer is a special action type that can be set in ONE of the campaign message buttons.
When user taps the Push Primer button, the SDK tries to authorize and then register for remote notifications.
Developers can set `UNUserAuthorizationOptions` used during authorization proces by setting `pushPrimerAuthorizationOptions` variable:

```swift
RInAppMessaging.pushPrimerAuthorizationOptions = [.badge, .provisional]
```

If the variable wasn't modified, a default value will be used.

⚠️ The Push Primer feature will not work if user has disabled Remote Notifications in system settings.

Errors related to authorization requests can be accessed using the 'Error callback' feature.
Errors related to registration requests will be returned in `application(_:didFailToRegisterForRemoteNotificationsWithError:)` method in the App delegate object.
The process can be considered as successful when `application(_:didRegisterForRemoteNotificationsWithDeviceToken:)` method is called.

[How to set up your app for registering with APNS](https://developer.apple.com/documentation/usernotifications/registering_your_app_with_apns)

### **Tooltip Campaigns**
Tooltip feature is currently in beta testing; its features and behaviour might change in the future.
Please refer to the internal guide for more information.
Expand Down

0 comments on commit 676099d

Please sign in to comment.