Unable to get Draft Id in new Gmail Interface

241 views
Skip to first unread message

SANDEEP CHIKHALE

unread,
Jul 9, 2018, 5:58:49 AM7/9/18
to InboxSDK
Getting error in the injected.js file and not able to get draft ID in the new gmail interface

I have removed all the code which is not required in this case

Required Code 

InboxSDK.load(1, SH_APP_ID).then(function (sdk) {
     sdk
.Compose.registerComposeViewHandler(function (composeView) {
         let emailDraftID
= "";
          composeView
.getDraftID().then(res => {
                emailDraftID
= res;
           
});
     
}
});


Every time a new compose window opened - after few seconds I am getting following error

Inject script error = new BigNumber() not a number .

This error is appearing on on new Gmail Interface - It really created problem for us.

Could you please provide some information on this.
Any help would be very beneficial for us.

Let me know if I can help in any way.

Thanks.


Chris Cowan

unread,
Jul 9, 2018, 8:08:21 PM7/9/18
to InboxSDK
This issue should be fixed now. New Gmail had made a change that broke this feature.
Reply all
Reply to author
Forward
0 new messages