zoho / SalesIQ-Mobilisten-Cordova

SalesIQ Mobilisten plugin for Apache Cordova/PhoneGap/Ionic.
https://mobilisten.io
7 stars 4 forks source link

❌ MOBILISTEN » INITIALIZATION FAILED: INVALID RESOURCE #14

Closed diadal closed 3 months ago

diadal commented 3 months ago

Error ❌ MOBILISTEN » INITIALIZATION FAILED: INVALID RESOURCE on ios appKey and accessKey keys matched viewed from the console log

  let appKey;
  let accessKey;
  if (box.$q.platform.is.ios) {
    appKey = process.env.VITE_ZOHO_KEY_IOS;
    accessKey = process.env.VITE_ZOHO_ACCESS_IOS;
  } else {
    appKey = process.env.VITE_ZOHO_KEY;
    accessKey = process.env.VITE_ZOHO_ACCESS;
  }

  box.$ZohoSalesIQ.init(appKey, accessKey, (success) => {
    console.log('success: ', success);
    //Use the ZohoSalesIQ.Launcher.show API if you wish to show the launcher by default.
    // box.$ZohoSalesIQ.Launcher.show(VisibilityMode.ALWAYS);
    box.$ZohoSalesIQ.Launcher.show(
      box.$ZohoSalesIQ.Launcher.VisibilityMode.ALWAYS,
    );
  });
}
venkatesh-ramesh-12517 commented 3 months ago

Hi @diadal

Thank you for reaching out to us.

This issue may occur due to the incorrect appKey, accessKey, and bundle ID. Please ensure that you are using the correct iOS appKey, accessKey, and bundle ID.

To verify keys, open SalesIQ and navigate to Settings > Brands > Select the Brand > Installation > iOS. Ensure that the correct keys and bundleID are passed in the initialization call.

If you have any further inquiries, please do not hesitate to reach out to our dedicated support team at support@zohosalesiq.com

Regards, Venkatesh R, Zoho SalesIQ.