Skip to content

Commit 8818594

Browse files
committed
Replace console logs with startWithToken
1 parent 9814122 commit 8818594

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

InstabugSample/index.ios.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,15 @@ export default class InstabugSample extends Component {
2727

2828
constructor(props) {
2929
super(props);
30-
30+
3131
Instabug.isRunningLive(function (isLive) {
3232
if (isLive) {
33-
console.log("live");
33+
Instabug.startWithToken('LIVE_TOKEN', Instabug.invocationEvent.shake);
3434
} else {
35-
console.log("not live");
35+
Instabug.startWithToken('BETA_TOKEN', Instabug.invocationEvent.shake);
3636
}
3737
});
3838

39-
Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.invocationEvent.shake);
40-
4139
const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
4240
this.state = {
4341
dataSource: ds.cloneWithRows(this._genRows({})),

InstabugSample/ios/InstabugSample.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@
442442
24ED9F161EFA6BE300D771DA /* Recovered References */ = {
443443
isa = PBXGroup;
444444
children = (
445+
5632439F28464ECB86D23318 /* libRNInstabug.a */,
445446
);
446447
name = "Recovered References";
447448
sourceTree = "<group>";

0 commit comments

Comments
 (0)