App Center Push
For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/push/cordova
Cordovaの問題で困っていますか?
本格的なプロジェクトを構築している場合、トラブルシューティングに時間を費やす余裕はありません。Ionicのエキスパートが、保守、サポート、統合に関する公式サポートを提供しています。
インストール
Ionic Native Enterprise はIonic Teamが完全にサポートしメンテナンスしているプラグインを利用できます。 詳しくみる か、 エンタープライズプラグインに興味があれば 連絡ください
サポートしているプラットフォーム
- Android
- iOS
利用方法
React
Angular
import { AppCenterPush } from '@ionic-native/app-center-push/ngx';
constructor(private appCenterPush: AppCenterPush) { }
...
this.appCenterPush.setEnabled(true).then(() => {
this.appCenterPush.addEventListener('My Event').subscribe(pushNotification => {
console.log('Recived push notification', pushNotification);
});
});

