Category : ionic-framework

i just compile my ionic 5 project via ionic capacitor run android > capacitor.cmd copy android √ Copying web assets from www to androidappsrcmainassetspublic in 2.75s √ Copying native bridge in 16.79ms √ Copying capacitor.config.json in 5.39ms – copy Found 6 Cordova plugins for android cordova-plugin-device (2.0.3) cordova-plugin-nativeaudio (3.0.9) cordova-plugin-statusbar (2.4.3) cordova-plugin-vibration (3.1.1) cordova-plugin-whitelist (1.3.4) ..

Read more

it’s an ionic capacitor angular project in which I am trying to build a capacitor plugin so that I can disable screenshots only for required pages/screens. I have used getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); within MainActivity inside onCreate() method, it works but it disables the screenshot for entire application which is not the desired outcome. MainAcitivity.java: public class ..

Read more

I have created an Ionic Angular app and I’ve implemented in app purchase using the following tutorial: https://enappd.com/blog/in-app-purchase-in-android-app-using-ionic-4/97/ It appears to work on my android device but I then get an email from Google Play with the following error: This test purchase was cancelled because it was not acknowledged. You should ensure all purchases are ..

Read more

I’m trying to use Android Command Line Tools with Ionic without installing Android Studio on Windows 10 OS In Environment variables > User variables path C:UsersUsergradle-6.8.3bin and Variable name: JAVA_HOME Variable value: C:Program FilesJavajdk1.8.0_271, with adding of the same path to Environment variables > System variables path. gradle –version: Gradle 6.8.3 java -version: java version ..

Read more

Can’t able to install any ionic-native plugins into the app. Error: ./node_modules/@ionic-native/market/ivy_ngcc/ngx/index.js 10:54-61 "export ‘cordova’ was not found in ‘@ionic-native/core’ My package.json "dependencies": { "@angular/common": "~11.2.0", "@angular/core": "~11.2.0", "@angular/fire": "^6.1.4", "@angular/forms": "~11.2.0", "@angular/platform-browser": "~11.2.0", "@angular/platform-browser-dynamic": "~11.2.0", "@angular/router": "~11.2.0", "@capacitor/android": "^2.4.6", "@capacitor/core": "2.4.6", "@ionic-native/core": "^4.20.0", "@ionic-native/device": "^5.31.1", "@ionic-native/firebase-authentication": "^5.31.1", "@ionic-native/market": "^5.31.1", "@ionic-native/splash-screen": "^5.31.1", "@ionic-native/status-bar": "^5.31.1", "@ionic/angular": ..

Read more