Skip to content

Commit 432c3a5

Browse files
committed
add docs
1 parent 8818594 commit 432c3a5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,17 @@ module.exports = {
740740
}
741741
},
742742

743+
/**
744+
* @summary Checks wether app is development/Beta testing OR live
745+
* Note: This API is iOS only
746+
* It reutrns in the callback false if in development or beta testing on Test Flight, and true if app is live on the
747+
* app store.
748+
* @param {function} isInstabugNotificationCallback callback with argument as return value 'isLive'
749+
*/
743750
isRunningLive: function(runningLiveCallBack) {
744-
Instabug.isRunningLive(runningLiveCallBack)
751+
if (Platform.OS === 'ios') {
752+
Instabug.isRunningLive(runningLiveCallBack)
753+
}
745754
},
746755

747756
/**

0 commit comments

Comments
 (0)