App Center SDK not working on an Ionic Cordova App

Rai, Mahesh 21 Reputation points
2020-09-09T19:48:41.463+00:00

We are trying to use App Center SDK in an Ionic Cordova app.
We get the below error when we start the app

startService:withAppSecret:transmissionTargetToken:fromApplication:]/398 Cannot start service MSCrashes. App Center was started without app secret, but the service requires it.

We are putting the APP_SECRET in the config.xml. Is this version related?

Below are the cordova plugins from package.json

"cordova-browser": "5.0.4",
"cordova-plugin-actionsheet": "^2.3.3",
"cordova-plugin-add-swift-support": "^1.7.2",
"cordova-plugin-app-event": "^1.2.1",
"cordova-plugin-badge": "^0.8.7",
"cordova-plugin-device": "^2.0.2",
"cordova-plugin-dialogs": "^2.0.1",
"cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-inappbrowser": "^3.2.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-local-notification": "^0.9.0-beta.2",
"cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.1",
"cordova.plugins.diagnostic": "^4.0.3",

Community Center Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.