Skip to content

Commit 6220145

Browse files
committed
Merge branch 'master' of https://github.com/Instabug/instabug-reactnative into dev
2 parents 9eb701b + a733f8a commit 6220145

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
## Installation
99

10-
`$ npm install https://github.com/Instabug/instabug-reactnative --save`
10+
`$ npm install https://github.com/Instabug/instabug-reactnative#master --save`
1111

1212
`$ react-native link instabug-reactnative`
1313

1414
#### iOS installation
1515

1616
1. Open your app `.xcodeproj` file
17-
2. Add the following line to your "Podfile": `pod 'Instabug', '~> 7.0.0'`
17+
2. Add the following line to your "Podfile": `pod 'Instabug', '~> 7.0'`
1818
3. run `pod install`
1919
4. Run your project (`Cmd+R`)<
2020

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ public void setUserEmail(String userEmail) {
202202
* @param username the username
203203
*/
204204
@ReactMethod
205-
public void setUsername(String username) {
205+
public void setUserName(String username) {
206206
try {
207-
mInstabug.setUsername(username);
207+
mInstabug.setUserName(username);
208208
} catch (Exception e) {
209209
e.printStackTrace();
210210
}

index.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/**
2-
* Sample React Native App
3-
* https://github.com/facebook/react-native
4-
* @flow
5-
*/
6-
71
import {NativeModules, NativeAppEventEmitter, Platform} from 'react-native';
82
let {Instabug} = NativeModules;
93

@@ -916,4 +910,4 @@ module.exports = {
916910
messageNotification: Instabug.messageNotification,
917911
messagesNotificationAndOthers: Instabug.messagesNotificationAndOthers
918912
}
919-
};
913+
};

0 commit comments

Comments
 (0)