tôi nhận được lỗi này khi tôi cố gắng thiết lập quan trọng api GCM đẩy trong app.js
Đây là mã tôi sử dụng:
.config(['$ionicAppProvider', function($ionicAppProvider) {
// Identify app
$ionicAppProvider.identify({
// The App ID for the server
app_id: 'MY_APP_ID',
// The API key all services will use for this app
api_key: 'MY_API_KEY',
//The GCM project number
gcm_id: 'MY_GCM_PROJECT_NUMBER'
});
}])
** NB ** Ionic Beta Migration (từ Alpha ..) 'ionic-service-core' được thay thế bằng' ionic-platform-web-client' - http: //docs.ionic .io/docs/migration-guide – Aldracor