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

Paypal Integration TypeError: Object(...) is not a function

$
0
0
{
  "name": "woo4app",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "start": "ionic-app-scripts serve",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint"
  },
  "dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",
    "@angular/http": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@ionic-native/core": "^4.20.0",
    "@ionic-native/onesignal": "^5.26.0",
    "@ionic-native/paypal": "^5.26.0",
    "@ionic-native/splash-screen": "~4.20.0",
    "@ionic-native/status-bar": "~4.20.0",
    "@ionic/storage": "^2.2.0",
    "cordova-android": "^8.1.0",
    "cordova-browser": "^6.0.0",
    "ionic-angular": "3.9.5",
    "ionic-native": "^2.9.0",
    "ionicons": "3.0.0",
    "rxjs": "5.5.11",
    "sw-toolbox": "3.6.0",
    "woocommerce-api": "^1.5.0",
    "zone.js": "0.8.29"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.4",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^4.1.3",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "typescript": "~2.6.2"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-whitelist": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {
        "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
      },
      "cordova-plugin-ionic-keyboard": {},
      "com.paypal.cordova.mobilesdk": {},
      "onesignal-cordova-plugin": {}
    },
    "platforms": [
      "browser",
      "android"
    ]
  }
}

Paypal Integration TypeError: Object(...) is not a function

$
0
0

All @ionic-native/* pieces must share at least the same major version. Align these all somehow.

Create ionic 4 Project

$
0
0

I really don’t think you want to do this. Please explain why you are trying.

White screen Android

$
0
0

Nevermind, i solved it installing a newer Android version. This was helpful tough.
Thanks

Paypal Integration TypeError: Object(...) is not a function

$
0
0

Can you suggest a way to do this?

Paypal Integration TypeError: Object(...) is not a function

$
0
0

ok i just installed the version 4.20.0 for all @ionic-native/ modules.
with npm install @ionic-native/paypal@4.20.0 and npm install @ionic-native/onesignal@4.20.0
Now i don’t get any console errors but still i don’t get redirected to Paypal payment screen.
The payment button does nothing.
If i choose some other payment method (cash on delivery) the Order is correctly placed in Woocommerce.

How to read SMS on Ionic 5

$
0
0

Did you found solution for reading SMS?

When i resize the window using the , the content disapears (menu and router outlet)

$
0
0

I have two ion menus and one main content(router outlet). And when i resize the page or place it on moblie view, i get a blank page, like the content is missing.

code:

<ion-app>
  <ion-split-pane>

    <ion-menu side="start" menuId="first" contentId="main">
      <ion-header>
        <ion-toolbar color="primary">
          <ion-title>Start Menu</ion-title>
        </ion-toolbar>
      </ion-header>
      <ion-content>
        <ion-list>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
        </ion-list>
      </ion-content>
    </ion-menu>
    <ion-menu side="end" menuId="first" contentId="main">
      <ion-header>
        <ion-toolbar color="primary">
          <ion-title>Start Menu</ion-title>
        </ion-toolbar>
      </ion-header>
      <ion-content>
        <ion-list>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
          <ion-item>Menu Item</ion-item>
        </ion-list>
      </ion-content>
    </ion-menu>

  <ion-router-outlet></ion-router-outlet>

  </ion-split-pane>
</ion-app>

What can i add or do to make the content not disapear?


Ionic React type error in Android Studio

$
0
0

Nevermind, solved it installing a newer Android version in the device. Also didn’t have this problem using my own smartphone

Shakti coin vs other crypto currencies?

$
0
0

Did you guys know anything about this Coin? What difference it can make it from other crypto currencies?

Ionic 5 React Tabs starter * IonTab overlaps Login Page Display

Compile stuck bug IonMenuToggle wrap withRouter

Compile stuck bug IonMenuToggle wrap withRouter

$
0
0

And Also when we try to remove IonMenuToggle, it compiles fine

Ionic 4: Log in as a different user, previous user's data still shows

$
0
0

hi @obinnae try this example

for User a clear data

User A logs in
User A’s info is retrieved from Firebase, then stored locally in storage.
User A logs out, and his info is cleared from storage by calling storage.clear()

this.storage.set('LocalStorageKeyName',this.emptyarray).then(
      (res)=>{
        console.log(res);
  });

for User B store data
User B logs in, but can still see User A’s info

this.storage.set('LocalStorageKeyName',this.UserB_retrieved_from_Firebase).then(
      (res)=>{
        console.log(res);
  });

Ion-icon color does not change when ion-tab-button is selected


How to create ionic 4 project

$
0
0

here is my ionic info

Ionic:

Ionic CLI : 5.4.16 (C:\Users\saad.saeed\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4

Utility:

cordova-res : not installed
native-run : 0.3.0

System:

NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10

and here is ionic version
5.4.16

How to create ionic 4 project

$
0
0

First Question: Why do you want to create a ionic 4 Project and not use the latest Version?

How to create ionic 4 project

$
0
0

Because I am use to with ionic 4 and have hands on experience with it.

How to create ionic 4 project

$
0
0

You should use ionic 5. If you are experienced with Ionic 4 you will have no Problems with 5

How to create ionic 4 project

$
0
0

alright but now i have no more time for this project Because i have to meet the deadline

Viewing all 231637 articles
Browse latest View live


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