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

How to use ion-picker in Vue?


In app purchase 2 receipt validation CORS

$
0
0

Actually I don’t think this is and issue. Its not a subscription so therefore should not require back end validation

Ion-tab-button and ion back button

$
0
0

i have problem with ion-tabs ionic

lets say i having tab1, tab2,

after i using ion-back-button to /tabs/1 from another page,
ion tabs will show ion-tabs 1 page content with correct,
when i tried to select tab2,
this will remain content 1 and the url changed to /tabs/2,

but instead of ion-back-button, if i using navigate([‘tabs/1’]), it is no problem
anyone got idea for that?

Ionic 4 Ion-menu

Unable to run FileChooser

$
0
0

When trying to use the FileChooser plugin in capacitor I get the following:

[Warning] Native: tried calling FileChooser.open, but the FileChooser plugin is not installed. (user-script:2, line 266)
[Warning] Install the FileChooser plugin: 'ionic cordova plugin add cordova-plugin-filechooser' (user-script:2, line 266)
[Error] ERROR – Error: Uncaught (in promise): plugin_not_installed
Error: Uncaught (in promise): plugin_not_installed

Any ideas? I’ve installed it using File Chooser | Opens File Picker on Android and Returns File URI and added it to my providers, but doesn’t seem to work. Also tried on both an emulator and real device

Thanks in advance

Unable to run FileChooser

$
0
0

Here is the documentation for installing Cordova plugins to be run under Capacitor. Is there any possibility you skipped the npx cap sync step?

Unable to run FileChooser

$
0
0

Thanks for the reply. Yup, ran all the steps twice and even tried npx cap sync and ionic cap sync (I’m sure they do the exact same thing). It doesn’t appear to be adding an entry to my ios/App/App/config.xml which is strange, other plugins tend to (and it does add an entry to the android config.xml).

Unable to run FileChooser

$
0
0

:man_facepalming:t2: its android only. Will need to find a plugin that also works for iOS


Unable to run FileChooser

$
0
0

As long as we’re facepalming, can I ask a monumentally stupid question? Is something blocking you from just using a good old <input type="file">?

Unable to run FileChooser

$
0
0

Good question :sweat_smile: I could i theory use that (and tbh it never crossed my mind haha), but I was hoping to use something a bit cleaner behind the scenes and not have the horrible looking input element if possible

Unable to run FileChooser

$
0
0

If you’re referring to the dialog, probably not much one can do about the appearance of that. But if you’re talking of the trigger button, there are probably a million blog entries out there detailing various strategies for substituting custom elements that are linked to the (hidden) <input type="file">, because this has been a concern of web designers for decades now.

I don’t have a particular favorite lying around, and will warn you that there will be some that are more or less hostile to users relying on assistive technology, and others that will use code more or less idiomatic to whatever JavaScript framework you’re using for the rest of your app. Still, there should be enough options out there for you to find something close enough to get you started.

And, as a bonus, now this will work even in a PWA on a desktop browser, because you won’t be needing a plugin at all.

Unable to run FileChooser

$
0
0

I will look into that. Thanks for the response, thats been super helpful!

What's the best way to save data from a form and access it from multiple pages in a mobile app?

$
0
0

Thank you SO much for your awesomely insightful response. You gave me a lot to digest. Thanks!

Similar example to "Ionic Infinite Scroll" from @Angular into @React

$
0
0

Hello, thanks for the help.

I already try it, but it’s not working on my Ionic/React project.

Ionic 5 block display/text zoom

$
0
0

I solved my issue by using native code.


What's the best way to save data from a form and access it from multiple pages in a mobile app?

$
0
0

Is there any real documentation on everything that’s needed to:

  • create a service (I’ve been trying to use capacitor storage but I can use ionic storage as well)
  • inject that service on a page and set a string
  • inject the service on another page and get the string and display it on that page when the page loads

I’m using Ionic 6. I’ve searched the internet, but all of the examples and references are using older versions of ionic (mostly Ionic 3 and 4) and the examples they provide are in bits and pieces. I’m missing something when I try to put all the pieces together as I can’t seem to get it to work. I also don’t know if they’re using capacitor storage or ionic storage in the examples.

If I could just see an example where it works and get a full understanding, I can finish this!

I appreciate any advice you can provide. Thanks SO much in advance!

Build app without framework, possible?

$
0
0

Incredibly slow.

I tried vanilla Ionic using the Riot.JS libraries. Works great and fast in an Android emulator, but incredibly slow on a real device. It was Ionic, not Riot.JS that was slow.

It took 20s to load after the splash screen disappeared. It appears as a blank white screen until all the Ionic components render. Not really acceptable.

Capacitor live-reload for IOS launch browser instead of webview

$
0
0

Looking at CapBridgeViewController.swift, I wonder whether or not this piece of code is responsible for the launch of the external browser. If it is, what can I do to stop it

Data Binding in Angular and React

$
0
0

You can check the pros and cons of angular and react from here. It will helpful for you.

Android Automation Draft Status

$
0
0

Whenever we build our Android app with the automation, it publishes to the Play Console, but only ever as a draft. Then we need to manually release it.

Any ideas on how to get around this?

Thanks

Viewing all 228535 articles
Browse latest View live


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