Include Calls (#720)
* Get Call module * The call event * Update onCall index.d.ts
This commit is contained in:
parent
449d0f01d8
commit
cdede835af
2 changed files with 136 additions and 3 deletions
|
|
@ -50,7 +50,8 @@ exports.Events = {
|
|||
QR_RECEIVED: 'qr',
|
||||
DISCONNECTED: 'disconnected',
|
||||
STATE_CHANGED: 'change_state',
|
||||
BATTERY_CHANGED: 'change_battery'
|
||||
BATTERY_CHANGED: 'change_battery',
|
||||
INCOMING_CALL: 'incoming_call'
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ exports.ExposeStore = (moduleRaidStr) => {
|
|||
window.Store.QueryOrder = window.mR.findModule('queryOrder')[0];
|
||||
window.Store.QueryProduct = window.mR.findModule('queryProduct')[0];
|
||||
window.Store.DownloadManager = window.mR.findModule('DownloadManager')[0].default;
|
||||
window.Store.Call = window.mR.findModule('CallCollection')[0].default;
|
||||
};
|
||||
|
||||
exports.LoadUtils = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue