mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-01 05:30:42 +00:00
Add new message and target ios
This commit is contained in:
parent
b989138c70
commit
ec0f3c87c1
@ -354,8 +354,14 @@ module.exports = {
|
|||||||
Instabug.setChatNotificationEnabled(isChatNotificationEnabled);
|
Instabug.setChatNotificationEnabled(isChatNotificationEnabled);
|
||||||
},
|
},
|
||||||
|
|
||||||
// On new message handler!
|
/**
|
||||||
|
* Sets a block of code that gets executed when a new message is received.
|
||||||
|
* @callback handler - A callback that gets executed when a new message
|
||||||
|
* is received.
|
||||||
|
*/
|
||||||
|
setOnNewMessageHandler: function(handler) {
|
||||||
|
Instabug.setOnNewMessageHandler(handler);
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables/disables prompt options when SDK is invoked.
|
* Enables/disables prompt options when SDK is invoked.
|
Loading…
x
Reference in New Issue
Block a user