Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228554 articles
Browse latest View live

Failing to ionic serve a new project (angular) from template ionic-cli@5.4.4

$
0
0

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.


Ionic 4: Set text at bottom of

Ionic 4 + angular 8 test failure

$
0
0

thank you so much! This is just what I needed. Much appreciated

Ionic 4 + angular 8 test failure

$
0
0

sorry, one more question… what is your mockBackButton implementation?

Ionic 4 + angular 8 test failure

$
0
0

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.

Convert PWA to android/IOS app

$
0
0

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.

Failing to ionic serve a new project (angular) from template ionic-cli@5.4.4

$
0
0

nvm is an even better option, because you never have to run anything as root.

Youtube Video Player - ITMS-90809 - Any suggestions for fork that has been updated to remove UIWebView?

$
0
0

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.


How can i rank high my website on personality development and self improvement?

$
0
0

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.

[SOLVED] How to exit the app please?

$
0
0

Hello, If you still having exit app issue ping me

[Ionic 4] Problem building for Android: white screen after splashscreen

$
0
0

If you know solutions, please post here,

Footer above tabs in tab view

$
0
0

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

$
0
0

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

How to post json to url and recieve json resonse using ionic4 angular?

$
0
0

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

How to upload image on s3 server using ionic react?

$
0
0

Need help, to upload image on s3 server using ionic react. Is capacitor support s3 upload images on s3 server?


Tried calling native plugin, but not found in runtime

$
0
0

Did you try it with android 10 OS?

Scroll to specific element

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Scroll to specific element

Ionic cordova build android throw an error

$
0
0

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

child component passed from parent not working in ngFor

Viewing all 228554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>