If anyone else has this - for some reason ionic doesn’t like npm being installed from snap. Installing from PPA works.
Fixed – not an ionic issue.
If anyone else has this - for some reason ionic doesn’t like npm being installed from snap. Installing from PPA works.
Fixed – not an ionic issue.
Thank you very much
thank you so much! This is just what I needed. Much appreciated
sorry, one more question… what is your mockBackButton implementation?
Yeah, that would be helpful ;-).
class MockBackButton {
subscribeWithPriority: jasmine.Spy<any>;
}
mockBackButton = new MockBackButton();
mockBackButton.subscribeWithPriority = jasmine.createSpy('subscribeWithPriority', (priority, fn) => {});
I wasn’t trying to exercise the back button. I was only trying to get past the error being thrown, but this may point to a direction to try.
I’ve developed a PWA app and wish to convert it to an Ionic 4 Android/IOS app. I used this service https://appmaker.xyz/pwa-to-apk/ which worked fine, created the APK and uploaded to the google store, but when I downloaded & installed it, it turned out to be just the PWA with the address bar on it.
Any idea how to create a regular APK/AAB from a PWA?
Thanks.
nvm is an even better option, because you never have to run anything as root.
Within the documentation the suggested Cordova plugin to use is the one by ihadeed. However it still uses the deprecated UIWebView.
Does anyone know of a fork that has been updated to use WKWebView?
Thanks.
Hi thomasrob,
SEO is the only way to rank higher on the search keywords you intend to work on. You can get in touch with Facebook for SEO related queries.
Hello, If you still having exit app issue ping me
If you know solutions, please post here,
Here i’m adding a footer on top of ion-tabs, problem is I’m having multiple pages with individual header and content.
I need to handle this in ion-tabs so that it is a one time activity to call API and show card to user.
footer card is adding on top of ion-tabs, but it is over-riding the ion-content in every page and end of the scroll bar is getting disappeared every where.
Please help me to handle this @ bokboki2002
Ionic 3 read SMS plugin for OTP Verification is not working i don’t know what i am doing wrong below my code
constructor(){
this.checkPermission();
}
Here is my check permission
checkPermission()
{
//alert('checkPermissionAndSend');
this.platform.ready().then(() => {
this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.READ_SMS).then(
success => {
//if permission granted
this.receiveSMS();
},
err =>{
this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.READ_SMS).
then(success=>{
this.receiveSMS();
},
err=>{
alert("cancelled")
});
});
this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.READ_SMS]);
});
}
this is my read message code am using this npm
receiveSMS()
{
SmsReceiver.startReception(({messageBody, originatingAddress}) => {
alert(messageBody)
}, () => {
alert("Error while receiving messages")
})
}
Please help me out. It will be highly appreciated
Thanks in advance
Hi,
I am getting into interaction with API’s using ionic4 angular and I am trying to post json to an API url and receive the json response to display or store in firebase. Is there a resource or sample code or example anyone can point me to on how one can post json key-value pairs to a URL and receive the json response?
Thanks
Need help, to upload image on s3 server using ionic react. Is capacitor support s3 upload images on s3 server?
Did you try it with android 10 OS?
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
This is not supported in WKWebView, in iOS,
scrollIntoView() with parameters objects doesn’t work in Safari:
https://caniuse.com/#search=scrollintoview
Android Studio project detected
ANDROID_HOME=C:\Program Files\Android\Android Studio
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_231
studio
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: Build failed with an exception.
Where:
Script ‘C:\Users\saad.saeed\Desktop\jawwad\smartVege\platforms\android\CordovaLib\cordova.gradle’ line: 68
What went wrong:
A problem occurred evaluating project ‘:CordovaLib’.
No installed build tools found. Install the Android build tools version 19.1.0 or higher.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 5s
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Where:
Script ‘C:\Users\saad.saeed\Desktop\jawwad\smartVege\platforms\android\CordovaLib\cordova.gradle’ line: 68
What went wrong:
A problem occurred evaluating project ‘:CordovaLib’.
No installed build tools found. Install the Android build tools version 19.1.0 or higher.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 5s