Skip to content

Commit 793cc22

Browse files
committed
Disable hot app launches temporarily
1 parent 9ba7923 commit 793cc22

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

android/src/main/java/com/instabug/instabugflutter/InstabugFlutterPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ public void start(Application application, String token, ArrayList<String> invoc
142142
new Instabug.Builder(application, token).setInvocationEvents(invocationEventsArray).build();
143143
enableScreenShotByMediaProjection();
144144

145-
// Temporarily disabling APM
146-
APM.setEnabled(false);
145+
// Temporarily disabling APM hot launches
146+
APM.setHotAppLaunchEnabled(false);
147147
}
148148

149149
/**

ios/Classes/InstabugFlutterPlugin.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ + (void)startWithToken:(NSString *)token invocationEvents:(NSArray*)invocationEv
7979
invocationEvents = IBGInvocationEventNone;
8080
}
8181
[Instabug startWithToken:token invocationEvents:invocationEvents];
82+
83+
// Temporarily disabling APM hot launches
84+
IBGAPM.hotAppLaunchEnabled = NO;
8285
}
8386

8487
/**

0 commit comments

Comments
 (0)