Skip to content

Commit

Permalink
Update README.md (#17)
Browse files Browse the repository at this point in the history
Update documentation with information on push notification icon.
  • Loading branch information
CataD256 authored Jul 20, 2022
1 parent eb7d179 commit bb9f3c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ The easiest way to get Ometria into your iOS project is by using [CocoaPods](htt
--------------------------
To initialise Ometria, you need to enter the API key from **2. Before you begin**.

> :information_source: Although on Android you are allowed to change what icon is displayed on push notifications, Apple is being more restrictive in this sense. Therefore, push notifications on iOS and ipadOS always use the application icon, and the only changes in layout can be done by user controlled preferences. To find out more about this, see [Notifications Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/components/system-experiences/notifications)
The best place to do this is in [application(_:didFinishLaunchingWithOptions:)](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didFinishLaunchingWithOptions:).

Initialise the library by adding **import Ometria** and then calling **Ometria.initialize(apiToken:)** with your API key as its argument.
Expand Down

0 comments on commit bb9f3c8

Please sign in to comment.