for that you have to run command with real device connected with chrome, the command will be:
ionic cordova run android -l --devices
Ionic App keeps stopping
[Ionic DevApp] net::ERR_CONNECTION_TIMED_OUT(http://192.168.0.19:8100/?devapp=true)
This right here saved me. My phone was connected to a different WiFi network than my computer. Thanks!
ModalController Documentation Missing
The documentation for ModalController appears to be missing from the website. I get a 404
I followed the link from https://ionicframework.com/docs/api/modal and clicked on the hyperlink leading to the Modal Controller
Thanks…
Ionic music controls not working
I cannot help you much but all I can say is that I’ve been trying to make this work for over a year with no luck. Sometimes stars align and I get it working on both Android and iOS and then for some reason it doesn’t work anymore.
That plugin isn’t maintained anymore. That fork is supposed to be better but I didn’t get it to work either: https://github.com/ghenry22/cordova-plugin-music-controls2
I’m now exploring Ionic Capacitor since that way I could play with native APIs but I really don’t know yet how I’ll figure that out.
Good luck and let me know if you figure it out.
Ionic 3 cordova-plugin-streaming-media. Hide "Home""back" buttons
hi, did you find the solution?
Ionic 3 cordova-plugin-streaming-media. Hide "Home""back" buttons
Have you tried this?
Ionic 3 cordova-plugin-streaming-media. Hide "Home""back" buttons
yes, I used this code, but it doesn’t work. The problem is only when I use the cordova-plugin-streaming-media plugin with a video, if I don’t display a video the full screen works
this.androidFullScreen.isImmersiveModeSupported().then(() => {
console.log(‘FULL SCREEN SUPPORTED’);
this.androidFullScreen.immersiveMode().then((dati) => {
console.log(‘FULL SCREEN ENABLED’);
}).catch((err) => {
console.error(‘FULL SCREEN NOT ENABLED’);
});
}).catch((err) => {
console.error(‘ERROR FULL SCREEN’);
console.error(err);
});
ModalController Documentation Missing
For ionic 4 I think https://ionicframework.com/docs/api/modal has all info that you need for using ion-modal
but if you are using version 3 the docs are here.
Cheers
Install Ionic Fork locally
Hey there,
how can i install a cloned ionic Fork locally? I want to make some Pull Requests and test my changes first.
I struggled around with:
@ionic/angular: "file:../ionic/angular",
@ionic/core: "file.../ionic/core"
but this seems not to work.
Has anyone done this before? Any Contributer?
Return value from alert confirmation
thank you so much thats really help me
How to generate android apk with different package name using ionic cordova build android
One approach is described here: https://stackoverflow.com/questions/46345603/cordova-config-xml-environment-variables
Haven’t tested it yet myself…
Ionic5 prod build fails
That did it! Thanks a lot
Self-hosting a Ionic-Stencil PWA
Hi @pwespi,
I was not sure where to ask these questions and as you have been helpful, I figured you may be able to help me once more.
I hope I am not bothering you with these questions, it is just that I am not sure where I should post those, and they are somewhat related to my previous question.
Thanks to the resources you gave me, I finally got a grip of the problem, and achieved my goal.
I have written a tutorial to explain all of this, but I am not sure it is appropriate to post it on this forum, as it is a bit long (7 pages in 12px font) and most of it is about how to set up Nginx, and doesn’t really concerns Ionic or Stencil (however, I explain how to serve a Ionic-Stencil PWA with Nginx.)
I can also make a PDF document of the tutorial and post it like that.
The other thing is that it is based on a couple of other tutorials I read elsewhere. I put links for every sites I have been using, but large sections of it are pretty much copies of the information from these sites. I am not sure if this is appropriate or not.
The other thing is that technically, your answer was the solution to my question, as it allowed me to solve my problem, but the tutorial I made would be a more complete solution. I feel like I should make your answer the solution for that topic, but I am not sure if it is the right decision.
Once again, I hope that I am not bothering you. I am not used to writing on forums, and while I read the rules, I really don’t want to make anyone frustrated because of some stupid error from my part.
Thanks for the links you sent me, it saved me a lot of headaches.
Have a good one.
InAppBrowser + iOS vertical scroll not functioning
Same Problem! have any one solved that?
Install Ionic Fork locally
I have indeed done this before, but it was a long time ago against a code base far, far away, so the best I can do now is to give some things to try.
Your first ally in this battle is going to be npm link
. If you can get that to work correctly, it will be by far the simplest to deal with incrementally, as your changes in the fork will be reflected immediately.
However, sometimes projects just aren’t linkable. If you hit a dead end there, the next thing I would try is to put your fork on GitHub (where it probably is anyway) and refer to it in your test project package.json
using the syntax described here.
The last resort I’ve ever used is to follow the build instructions and take whereever that stuff is that gets published to npm (I forget which directory that is for Ionic, and it’s probably changed anyway since I did this) and literally dump a copy of it (I use rsync
, you can do it with cpio
or tar
or probably even cp
) into the node_modules
of that test project. This method is far from optimal, as it requires manual intervention every time you change anything.
Let us know if any of this worked for you and good luck.
Ionic Native Image Picker is not working it is asking permissions after that app is crashing
You’re not going to like this one, but my suggestion is “use Camera
and forget ImagePicker
exists”. I had similar experiences with ImagePicker
and chose to give up on it.
Ionic5 prod build fails
@galler’s suggestion of updating @angular/devkit stuff is much better than @Hammad6264’s post that is currently marked as the “solution” here. See this issue for additional information.
Using --aot
instead of --prod
is basically nerfing the build instead of addressing the actual issue.
FormBuilder error: "Cannot find control with name"
Most frequently the answer to this is “there’s an undiagnosed race condition buried somewhere”. Can you provide access to an MCVE such as on StackBlitz or GitHub? Race conditions are really hard to diagnose from out-of-context code snippets, because most often the crucial part of the code isn’t obvious to the author (or else they would have noticed it themselves).
QR Reader on Ionic React
That wouldn’t be the one explicitly mentioned in OP, would it?
Ionic 5 React - ionic serve fails
Hi,
I just installed Ionic CLI and I wanted to start playing with it.
When I create a new ionic react project with any starter template (blank or tabs) and try to run it using ionic serve I get this error:
More info about my env:
Note: If I try to build the project, everything works as expected and I can run the project on my browser.
Any idea what can cause this issue?
Thanks in advance.