Skip to content

Commit ec6e002

Browse files
authored
Merge pull request #35 from mitchiemt11/main
Update README.md
2 parents 3d1ae80 + c00195b commit ec6e002

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ implementation project(':intercom-react-native')
6969

7070
#### Android: Setup
7171

72-
- Add below lines to `MainApplication.java` inside `onCreate` method, replacing `apiKey` and `appId` which can be found in your [workspace settings](https://app.intercom.com/a/apps/_/settings/android).
72+
- Add below lines to `android/app/src/main/java/com/YOUR_APP/app/MainApplication.java` inside `onCreate` method, replacing `apiKey` and `appId` which can be found in your [workspace settings](https://app.intercom.com/a/apps/_/settings/android).
7373

7474
```java
7575
import com.intercom.reactnative.IntercomModule; // <-- Add this line
@@ -115,7 +115,7 @@ dependencies {
115115

116116
#### Android: Permissions
117117

118-
You will need to include the [READ\_EXTERNAL\_STORAGE](http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE) permission if you have enabled attachments:
118+
You will need to include the [READ\_EXTERNAL\_STORAGE](http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE) permission in `android/app/src/main/AndroidManifest.xml` if you have enabled attachments:
119119

120120
```xml
121121
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
@@ -353,7 +353,7 @@ Notifications.events().registerRemoteNotificationsRegistered(({ deviceToken }: R
353353
#import <UserNotifications/UserNotifications.h>
354354
```
355355

356-
- Request notification permissions when app launches by adding the folloowing to `didFinishLaunchingWithOptions` before `return YES;`:
356+
- Request notification permissions when app launches by adding the following to `didFinishLaunchingWithOptions` before `return YES;`:
357357

358358
```Objective-C
359359
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

0 commit comments

Comments
 (0)