Anyone tried MS AppCenter with Ionic?


#1

Hi,

AppCenter from Microsoft sounds great - it’s got push, deployment, UI testing on 1000s of real devices and CI build processes - anyone tried integrating an Ionic project with it? https://appcenter.ms/


#2

Problem: There is no Cordova plugin / SDK available (yet?). So you would have to either create one or implement the native stuff in the generated iOS and Android project manually.


#3

Hmm - yes, the documentation seems a bit raw still - it seems that CodePush (a component of AppCenter) has a Cordova plugin but all the rest of the documentation does not mention Cordova). Hopefully they add Cordova compatibility (or MS would be missing a huge market). It looks like a great product in theory…


#4

Looks like Cordova has finally been added. Good Luck trying to understand what they are saying! For MS documentation this isn’t too bad, but a bit rough around the edges.


#5

I’ve tried it.
I was able to install the plugins, but when building there is an error message saying "Module AppCenter not Found"
Anyone having the same issue?


#6

Were you able to resolve this? How are you liking it so far?


#7

Did you added the AppCenterPush to your app.module.ts providers? I’ve tryed to implement this but now, the Android build fails due of unresolved dependecies…


#8

I gave up. It now only seems to work with Ionic v4, but I am not ready to upgrade my apps to v4.


#9

Today, still unresolved (24 January 2019 20:41)…

ionic info

Ionic:

ionic (Ionic CLI) : 4.4.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.2

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : none
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 19 other plugins)

System:

NodeJS : v10.3.0 (/usr/local/bin/node)
npm : 6.5.0
OS : macOS
Xcode : Xcode 10.1 Build version 10B61


#10

It doesn’t work with v3. You have to upgrade to v4. Yes, this answer sounds horrible, but don’t waste your time trying to get it to work. It won’t. Only v4.


#12

I searched all day maybe find a solution, but nothing could fix it. Yes, it is unacceptable on end of the day. I will try to migrate to ionic v4.


#13

I have tried on ionic v4 then It does not worked. I wish they will find an solution.