dial-once/sdk-cordova

Expose init method and keep DIAL_ONCE_API_KEY as optional way to init SDK

Closed this issue · 0 comments

Intro

In context of https://app.asana.com/0/522502093746263/619839502602358 client asked us to allow conditional SDK initialization (client have single codebase and multiple customized apps)

Proposed solution

  • Don't log error if DIAL_ONCE_API_KEY don't present in AndroidManifest.xml
  • Expose init(apiKey, displayInterstitial) function to js side

cc @jkernech