File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
android/src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 7
7
8
8
## Installation
9
9
10
- ` $ npm install https://github.com/Instabug/instabug-reactnative --save `
10
+ ` $ npm install https://github.com/Instabug/instabug-reactnative#master --save `
11
11
12
12
` $ react-native link instabug-reactnative `
13
13
14
14
#### iOS installation
15
15
16
16
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' `
18
18
3 . run ` pod install `
19
19
4 . Run your project (` Cmd+R ` )<
20
20
Original file line number Diff line number Diff line change @@ -202,9 +202,9 @@ public void setUserEmail(String userEmail) {
202
202
* @param username the username
203
203
*/
204
204
@ ReactMethod
205
- public void setUsername (String username ) {
205
+ public void setUserName (String username ) {
206
206
try {
207
- mInstabug .setUsername (username );
207
+ mInstabug .setUserName (username );
208
208
} catch (Exception e ) {
209
209
e .printStackTrace ();
210
210
}
Original file line number Diff line number Diff line change 1
- /**
2
- * Sample React Native App
3
- * https://github.com/facebook/react-native
4
- * @flow
5
- */
6
-
7
1
import { NativeModules , NativeAppEventEmitter , Platform } from 'react-native' ;
8
2
let { Instabug} = NativeModules ;
9
3
import instabugUtils from './utils/instabugUtils.js' ;
@@ -974,4 +968,4 @@ module.exports = {
974
968
messageNotification : Instabug . messageNotification ,
975
969
messagesNotificationAndOthers : Instabug . messagesNotificationAndOthers
976
970
}
977
- } ;
971
+ } ;
You can’t perform that action at this time.
0 commit comments