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

JetBlue Airlines Reservations 1-888-441-7259

$
0
0

Traveling by Jetblue Airlines passengers would also get to enjoy inflight entertainment, which include Classic and latest movies, Hollywood and Bollywood songs, Internet services, and special programs for kids. So, if you wish to enjoy an exciting journey by the airline, then get started today itself with the Jetblue Airlines Booking. Call now +1-888-441-7259.


Push Notification not showing in Android Notifications tray

$
0
0

We’re using AWS as a messaging broker and have tried many tests. All tests arrive if the app is open, but nothing in the notification tray.

Neplox Blogger

Truepush-Best push notification platform

$
0
0

Truepush is a best Push Notifications company for both web and mobile.TruePush service forever free service and it is a new method for pushing personalized customer engagement to the next level for business. Push notifications are used by marketing people to engage with their customers. Truepush having rich features like RSS-to-push, Audiencesegmentation, Triggers, Project Duplication, etc. that are generally paid on other competitive platforms, thus helping brands re-engage with their users for free.This exceptional growth is achieved due to the product’s capability and rockstar customer support. With more advanced features and plugins coming in the future, Truepush is working closely with 20000 + developers/marketers globally. Bloggers, Marketers, App owners & developers from varied industries including Media houses and E-Commerce websites sending millions of notifications every day. Trupush has advanced features like SegmentationTriggers & Templates that make it a user-friendly tool.
https://www.truepush.com/

Ios app freezes on splash screen

$
0
0

app working properly first time after installation,but app stuck on splash screen after kill multiple times.
and its happen multiple times after following same test case

xcode error log-
Apache Cordova native platform version 5.1.1 is starting.
Multi-tasking -> Device: YES, App: YES
CDVWKWebViewEngine: trying to inject XHR polyfill
iOS 12.2+ detected
WF: === Starting WebFilter logging for process
WF: _userSettingsForUser : (null)
WF: _WebFilterIsActive returning: NO
WF: _userSettingsForUser : (null)
WF: _WebFilterIsActive returning: NO
CDVWKWebViewEngine will reload WKWebView if required on resume
Using Ionic WKWebView
[CDVTimer][console] 0.200987ms
[CDVTimer][handleopenurl] 0.130057ms
Unlimited access to network resources
[CDVTimer][intentandnavigationfilter] 63.477993ms
[CDVTimer][gesturehandler] 0.102997ms
[CDVTimer][codepush] 50.784945ms
[CDVTimer][file] 2.442002ms
[CDVTimer][networkinterface] 0.093937ms
[CDVTimer][splashscreen] 43.187022ms
[CDVTimer][statusbar] 2.665043ms
[CDVTimer][diagnostic] 0.210047ms
[CDVTimer][diagnostic_location] 73.253989ms
[CDVTimer][diagnostic_wifi] 0.071049ms
[CDVTimer][diagnostic_camera] 0.078917ms
[CDVTimer][diagnostic_notifications] 0.100970ms
[CDVTimer][diagnostic_microphone] 0.093937ms
[CDVTimer][diagnostic_contacts] 2.650023ms
[CDVTimer][diagnostic_calendar] 0.074983ms
[CDVTimer][diagnostic_reminders] 0.051975ms
[CDVTimer][diagnostic_motion] 89.500904ms
[CDVTimer][ionicdeeplinkplugin] 0.132084ms
[CDVTimer][inappbrowser] 0.111938ms
[CDVTimer][TotalPluginStartup] 334.301949ms
[ProcessSuspension] 0x112b77bd0 - ProcessAssertion::processAssertionWasInvalidated()
IAB.close() called but it was already closed.
[ProcessSuspension] 0x112b77c30 - ProcessAssertion::processAssertionWasInvalidated()
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
CDVWKWebViewEngine shouldReloadWebView::
CDVWKWebViewEngine shouldReloadWebView title:
CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost
CDVWKWebViewEngine shouldReloadWebView reload: 0

Terminal log-
[17:59:49] console.log: subscribing to logout event
[17:59:49] console.log: Angular is running in the development mode. Call enableProdMode() to enable the production
mode.
[17:59:49] console.log: deviceready has not fired after 5 seconds.
[17:59:49] console.log: Channel not fired: onPluginsReady
[17:59:49] console.log: Channel not fired: onCordovaReady
[17:59:49] console.log: Channel not fired: onDOMContentLoaded
[17:59:49] console.warn: Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an
inconsistent state. Try removing plugins from plugins/ and reinstalling them.

Ionic plugin list
call-number 0.0.2 “Cordova Call Number Plugin”
code-push 2.0.4 “CodePushAcquisition”
com-badrit-base64 0.2.0 “Base64”
com-sarriaroman-photoviewer 1.1.16 “PhotoViewer”
com.bugsee.cordova-plugin 1.0.25 “Bugsee Plugin”
cordova-android-play-services-gradle-release 1.4.3 “cordova-android-play-services-gradle-release”
cordova-android-support-gradle-release 1.4.2 “cordova-android-support-gradle-release”
cordova-clipboard 1.2.1 “Clipboard”
cordova-open-native-settings 1.5.1 “Native settings”
cordova-plugin-actionsheet 2.3.3 “ActionSheet”
cordova-plugin-android-permissions 1.0.0 “Permissions”
cordova-plugin-app-version 0.1.9 “AppVersion”
cordova-plugin-appminimize 1.0 “AppMinimize”
cordova-plugin-apprate 1.3.0 “AppRate”
cordova-plugin-camera 2.4.1 “Camera”
cordova-plugin-code-push 1.11.11 “CodePush”
cordova-plugin-compat 1.2.0 “Compat”
cordova-plugin-console 1.1.0 “Console”
cordova-plugin-device 1.1.7 “Device”
cordova-plugin-dialogs 2.0.2 “Notification”
cordova-plugin-email-composer 0.8.15 “EmailComposer”
cordova-plugin-file 4.3.3 “File”
cordova-plugin-file-opener2 2.0.19 “File Opener2”
cordova-plugin-file-transfer 1.6.3 “File Transfer”
cordova-plugin-filechooser 1.0.1 “File Chooser”
cordova-plugin-filepath 1.0.2 “FilePath”
cordova-plugin-geolocation 2.4.3 “Geolocation”
cordova-plugin-globalization 1.11.0 “Globalization”
cordova-plugin-google-analytics 1.8.3 “Google Universal Analytics Plugin”
cordova-plugin-inappbrowser 4.0.0 “InAppBrowser”
cordova-plugin-ionic-webview 4.1.1 “cordova-plugin-ionic-webview”
cordova-plugin-ios-base64 1.0.0 “iOSBase64”
cordova-plugin-keychain-touch-id 3.3.0 “TouchID and Keychain”
cordova-plugin-nativegeocoder 2.0.5 “NativeGeocoder”
cordova-plugin-network-information 1.3.4 “Network Information”
cordova-plugin-networkinterface 1.2.0 “NetworkInterface”
cordova-plugin-print-pdf 4.0.2 “PrintPDF”
cordova-plugin-safariviewcontroller 1.4.7 “SafariViewController”
cordova-plugin-secure-storage 4.0.0 “SecureStorage”
cordova-plugin-speechrecognition 1.1.2 “Speech Recognition”
cordova-plugin-splashscreen 4.1.0 “Splashscreen”
cordova-plugin-statusbar 2.4.2 “StatusBar”
cordova-plugin-whitelist 1.3.3 “Whitelist”
cordova-plugin-zip 3.1.0 “cordova-plugin-zip”
cordova.plugins.diagnostic 5.0.1 “Diagnostic”
de.appplant.cordova.plugin.printer 0.7.1 “Printer”
ionic-plugin-deeplinks 1.0.20 “Ionic Deeplink Plugin”
ionic-plugin-keyboard 2.2.1 “Keyboard”
uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.4 “Launch Navigator”

Building error jdk 8 is required

$
0
0

Requirements check failed for JDK 8 (‘1.8.*’)! Detected version: 11.0.8
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd build android exited with exit code 1.

i did all the environment variables for everything and restrated my pc nothing works

Capacitor splash screen not showing on ios

$
0
0

Thanks. I eventually solved it (after much searching) by doing the following. In capacitor.config.json, change/add auto hide to false. I also removed the “launchShowDuration: 0” that was there:

"plugins": {
    "SplashScreen": {
      "launchAutoHide": false
    }
  }

In app.js, import the SplashScreen plugin, and hide it on componentDidMount:

import {Plugins} from "@capacitor/core";
const {SplashScreen} = Plugins;
componentDidMount() {
    SplashScreen.hide();
}

Seemed to work in my case. Have not fully tested everything or built an Android version yet.

Ionic missing app store icon

$
0
0

Again, for future reference: Apple is reading the icon from your app package (ipa).
If you have added the “” line to your config.xml, and added an image, then everything will be all right after you submitted your app for review.


Update on VueJs Support

$
0
0

Looking over the ionic-framework/vue commit history there has only been 3 commits this year. Could someone at Ionic please advise what the longer term plans are for Ionic with VueJS support?

Is there a plan to get it out of beta, or is that no longer the case. It would be great to see it get the same love the other frameworks get.

React: Div in IonItem breaks styling

$
0
0

I’ve encountered similar problem when i was trying to make IonItem elements one bellow other.

@aaronksaunders
Is there any other solution to achieve this without creation of IonGrid inside of every single item in list ?

example :

 <IonItem>
   <IonGrid>
     <IonRow>
       <IonCol>
         <IonCardSubtitle>Title text</IonCardSubtitle>
        </IonCol>
      </IonRow>
       <IonRow>
         <IonCol>
            <IonText>Some variable value</IonText>
          </IonCol>
       </IonRow>
       </IonGrid>
   </IonItem>

[IONIC 3]:How to implement in-app-purchase for video content?

$
0
0

I have developed a app which contains training videos(uploaded by admin in seperate portal). And
i have created in-app-products in google playstore. How to connect those?

The objective:

Admin perspective:
upload video with price or put in app puchase produt id there.

User perspective:
User can pay for each video through in-app-purchase(One time payment).

Debugging IOS

$
0
0

I have an app that is working correctly on Android and in Chrome and Safari. It has a bug that only appears when the app is installed on a physical IOS device. I have tried to debug the app using the process described here:

While I can see the phone and open pages in Safari, I don’t see my app. I am using an “App Store” distribution version of my app. I assume this is why I can’t see it in Safari.

When I create a Development version of my app using a development profile, I can’t upload it to Apple using Transporter. Transporter tells me “A Distribution Provisioning profile should be used when submitting apps to the App Store” Fair enough, the app store isn’t for development I guess.

I found this post from 2016:


I used option 3. (I had to modify the command to: ionic capacitor run ios -l -c -s)
The app runs here with no problems either. I tried multiple emulators. All ran fine.

How can I debug this app?

Prevent ion-input to take focus within ion-item when its value got changes

$
0
0

The following code snippet reproduces the effect that when an ion-input’s value got changed progammatically, here via a button click, then the ion-input will receive focus automatically as an effect. This effect is only observable within an ion-item container. How can this effect be prevented?

Apart from the fact that this is unwanted, it also comes with the side effect of the virtual keyboard popping up since the input receives focus. That’s only acceptable if the user sets focus explicitely on the input.

const Test = () => {
  const [value, setValue] = useState("")
  return <IonItem>
    <IonInput value={value} onIonChange={e => setValue(e.detail.value)} />
    <IonButton onClick={() => setValue("foo")}>foo</IonButton>
  </IonItem>
}

What’s a good way to prevent such behavior?

Prevent ion-input to take focus within ion-item when its value got changed

$
0
0

I copied your snippet and pasted it into Stackblitz. I don’t see the input box receiving the focus when I click the button.

Ion-router-outlet not working on sub-pages

$
0
0

You’re not using ion-router-outlet but router-outlet. The problem is with ion-router-outlet nested within ion-router-outlet


I can't open a new window in iOS

$
0
0

This didn’t work for me. I solved the issue with this (with cordova@9.0.0):

  1. Install InAppBrowser for ionic v3:
  1. Import in your app.module.ts.
  2. Add in your Class to use.
  3. Add this line (instead of window.open('url', '_system') )
    this.iab.create('url', '_system');

Where this.iab is declared in constructor Class:

import { InAppBrowser } from '@ionic-native/in-app-browser';

@Component({
  selector: 'login-page',
  templateUrl: 'login.html'
})
export class LoginPage {
  constructor(private iab: InAppBrowser) {}

  yourMethodtoUse() {
    // ...
    // Open navigator here - iOS ionic v3
    this.iab.create('https://www.google.com/myAccount', '_system');
    // ...
  }
}

Tested in iOS 13.6 in iPhone 11 Pro.

How to Build Your Own Capacitor Plugin

$
0
0

Hello @saimon! Welcome back to the community!
It’s been a while since we’ve saw you.
Thanks for sharing!

Ionic 5 react router cached

$
0
0

Hi,
I am using ionic with react, I have common component which is used on all changes for alerts which will check for redux state and display alerts based on isError true.
but when I move from 1-2 pages alerts is showing that many times as react router will cache it.
how to handle this kind of situation
here is what i am using

  useEffect(() => {
    if (isError) {
        notification(
          {
            show: true,
            message: errorMessage,
            type: 'error',
            autoHide: false,
          }
        );
      }
      dispatch({
        type: CLEAR_ERROR,
      });
    }
  }, [isError]);

Can I get the size of the Live Update package before download?

$
0
0

Ok, so I did this.

I set update mode to background and min-background-duration to 999999.

But now it never even downloads the update.

I think it won’t even check for a new version until the min-background-duration timeout hits. Can you confirm this?

Plugin native http not work

$
0
0

Absolutely. It automatically handles management of Content-Type for you, along with properly serializing payloads. It allows centralizing things like authentication into interceptors. Requests are parameterized, which gives you easy type safety for return values.

In short, it makes your code easier to read, write, and maintain, allowing you to concentrate on the parts of your app that are truly important.

Viewing all 230107 articles
Browse latest View live