Skip to content

Commit 5537df4

Browse files
authored
Call Missing Android APIs in start (#755)
1 parent 8310720 commit 5537df4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,15 @@ public void run() {
122122
final ArrayList<String> keys = ArrayUtil.parseReadableArrayOfStrings(invocationEventValues);
123123
final ArrayList<InstabugInvocationEvent> parsedInvocationEvents = ArgsRegistry.invocationEvents.getAll(keys);
124124

125+
setCurrentPlatform();
126+
setBaseUrlForDeprecationLogs();
127+
125128
new Instabug.Builder(getCurrentActivity().getApplication(), token)
126129
.setInvocationEvents(parsedInvocationEvents.toArray(new InstabugInvocationEvent[0]))
127130
.build();
131+
132+
// Temporarily disabling APM hot launches
133+
APM.setHotAppLaunchEnabled(false);
128134
} catch (Exception e) {
129135
e.printStackTrace();
130136
}

0 commit comments

Comments
 (0)