Open sreerajkarippala opened 5 years ago
This is the code i am using for AccountKitPlugin, but it keep crashing app with Title: App keeps stopping action: close app
(<any>window).AccountKitPlugin.loginWithPhoneNumber({ useAccessToken: true, defaultCountryCode: 'IN', facebookNotificationsEnabled: true, initialPhoneNumber: [this.phone_code, this.phone_number] }, (data) => { (<any>window).AccountKitPlugin.getAccount( (accountData) => { console.log(accountData); }, (accountError) => { console.log(accountError); } ); }, (error) => { console.log(error); });
I am using ionic 4
package.json dependencies
package.json
"dependencies": { "@angular/common": "^7.2.2", "@angular/core": "^7.2.2", "@angular/forms": "^7.2.2", "@angular/http": "^7.2.2", "@angular/platform-browser": "^7.2.2", "@angular/platform-browser-dynamic": "^7.2.2", "@angular/router": "^7.2.2", "@ionic-native/app-version": "^5.2.0", "@ionic-native/core": "^5.0.0", "@ionic-native/device": "^5.2.0", "@ionic-native/firebase": "^5.2.0", "@ionic-native/header-color": "^5.2.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^4.0.0", "@ionic/storage": "^2.2.0", "cordova-android": "7.1.4", "cordova-plugin-accountkit": "1.4.0", "cordova-plugin-app-version": "0.1.9", "cordova-plugin-device": "2.0.2", "cordova-plugin-firebase": "2.0.5", "cordova-plugin-headercolor": "1.0.0", "cordova-plugin-ionic-keyboard": "^2.1.3", "cordova-plugin-ionic-webview": "^3.1.2", "cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-whitelist": "^1.3.3", "cordova-sqlite-storage": "3.1.0", "core-js": "^2.5.4", "rxjs": "~6.3.3", "zone.js": "~0.8.29" },
Thank You...
Hi @sreerajkarippala, did you finally get it to work? In my app that code fragment does execute at all - no error, nothing happens.
This is the code i am using for AccountKitPlugin, but it keep crashing app with Title: App keeps stopping action: close app
I am using ionic 4
package.json
dependenciesThank You...