mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-03 22:50:48 +00:00
Merge branch 'master' of https://github.com/Instabug/instabug-reactnative into dev
This commit is contained in:
commit
6220145c43
@ -7,14 +7,14 @@
|
||||
|
||||
## Installation
|
||||
|
||||
`$ npm install https://github.com/Instabug/instabug-reactnative --save`
|
||||
`$ npm install https://github.com/Instabug/instabug-reactnative#master --save`
|
||||
|
||||
`$ react-native link instabug-reactnative`
|
||||
|
||||
#### iOS installation
|
||||
|
||||
1. Open your app `.xcodeproj` file
|
||||
2. Add the following line to your "Podfile": `pod 'Instabug', '~> 7.0.0'`
|
||||
2. Add the following line to your "Podfile": `pod 'Instabug', '~> 7.0'`
|
||||
3. run `pod install`
|
||||
4. Run your project (`Cmd+R`)<
|
||||
|
||||
|
@ -202,9 +202,9 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
|
||||
* @param username the username
|
||||
*/
|
||||
@ReactMethod
|
||||
public void setUsername(String username) {
|
||||
public void setUserName(String username) {
|
||||
try {
|
||||
mInstabug.setUsername(username);
|
||||
mInstabug.setUserName(username);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user