Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefhamza committed Jun 27, 2017
1 parent 8818594 commit 432c3a5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,17 @@ module.exports = {
}
},

/**
* @summary Checks wether app is development/Beta testing OR live
* Note: This API is iOS only
* It reutrns in the callback false if in development or beta testing on Test Flight, and true if app is live on the
* app store.
* @param {function} isInstabugNotificationCallback callback with argument as return value 'isLive'
*/
isRunningLive: function(runningLiveCallBack) {
Instabug.isRunningLive(runningLiveCallBack)
if (Platform.OS === 'ios') {
Instabug.isRunningLive(runningLiveCallBack)
}
},

/**
Expand Down

0 comments on commit 432c3a5

Please sign in to comment.