When I run ionic cordova build android, I get below error: D:Projectsionic-bt-device-applicationplatformsandroidsrccommoustcordovavideoplayerVideoPlayer.java:73: error: lambda expressions are not supported in -source 1.6 cordova.getActivity().runOnUiThread(() -> openVideoDialog(path, options)); ^ (use -source 8 or higher to enable lambda expressions) D:Projectsionic-bt-device-applicationplatformsandroidsrcdeappplantcordovapluginbackgroundBackgroundMode.java:314: error: lambda expressions are not supported in -source 1.6 cordova.getActivity().runOnUiThread(() -> webView.loadUrl("javascript:" + js)); ^ (use -source 8 or ..
Category : ionic3
I have an Ionic 3 project. Every time I build the Android app with Android Studio, Capacitor.platform returns ‘web’ and Capacitor.isNative returns ‘false’. Therefore, the native plugins do not work. Do you know how I can fix and / or control this? I have a Service with this code: import { Injectable } from "@angular/core"; ..
I am developing an Ionic 3 android application. I faced a problem where keyboard hides text inputs and I fixed that with adding the following line inside config.xml <preference name="resizeOnFullScreen" value="true" /> But this fix created an other problem which is in my login page, the keyboard pushes the background image and change its position ..
i’ve been trying to implement paystack payments in my ionic 3 app using angular. I used angular4-paystack but it did not work. Please help !!! Ionic: Ionic CLI : 5.4.16 Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.4 Cordova: Cordova CLI : 10.0.0 Cordova Platforms : 6.0.0, android 7.1.4, browser, ios 5.1.1 Cordova Plugins : ..
I’m not sure what Android studio is trying to tell me here. This process used to work with my old ionic3 project. Key is valid etc… Do I need another certificate? I don’t think so… ~/Android/Sdk/build-tools/30.0.2/apksigner sign –ks ./Setup/myStoreKey.jks ./android/app/build/outputs/apk/debug/app-debug.apk ~/Android/Sdk/build-tools/30.0.2/zipalign -v 4 ./android/app/build/outputs/apk/debug/app-debug.apk ./myapp.apk ~/Android/Sdk/build-tools/30.0.2/apksigner verify ./myapp.apk DOES NOT VERIFY ERROR: JAR signer MYAPP.RSA: ..
I cloned my application from the GIT repository, but after downloading the correct versions of NPM, GULP, CORDOVA, GRADLE and JDK and running npm install gulp install cordova platform add [email protected] the following message appears: Using "requireCordovaModule" to load non-cordova module "../cordova/util" is not supported. Instead, add this module to your dependencies and use regular ..
I’ve an application, in this application I have user system, so when I change avatar of user, it is changing in web/android platform but not in ios platform, I use capacitor and cordova, so please check my code and help me out where I stuck, and what code I have to put for ios platform. ..
I am using this: options={ action:this.webIntent.ACTION_VIEW, url:"upi://[email protected]&pn=Name&tid=TID4587445785&tr=Product Purchase&am=100&cu=INR&tn=Purchase&mc=< my mc code >" }; this.webIntent.startActivityForResult(options).then(…… but it is not working. In google pay, it is showing: limit exceed. In paytm, it is showing: payee-mcc length invalid In Bhim, it is showing: Payee.code numeric of length 4 Can not figure out. Please help…. Source: Android..
FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ‘:CordovaLib’. Could not resolve all artifacts for configuration ‘:CordovaLib:classpath’. ionic cordova build/run not working .Always showing this error. It seems no error on project because it worked when copied to another system. I already tried A problem occurred configuring project ':CordovaLib' ..
We have a ionic 3 application which is creating a native calendar event in google calendar / IOS native calendar. The data for these calendar events is provided by the webserver (REST API) We want to sync the calendar events, even if application is not running for few days? We would like to keep the ..
Recent Comments