It works for me! Thanks a lot.
Problem while getting Promise return
How to build old Ionic 3 project now?
I have an ionic app I built in Dec 2017. I now need to make some simple updates to it. I can’t seem to get it to build and run. I keep getting various package errors, depending on what versions of node/npm/ionic/cordova/dependencies I try. I may get an error about package X, so I fix that and then get another error about package Y, and so on. It’s been several days of fighting with dependencies and still no real progress. I have it in a git repo with a package.json file, but I suspect maybe I had done some npm installs without the --save option so my packages.json did not perfectly reflect my dev box at the time. I’m not very experienced with npm - is there some way to restore exactly what ionic/cordova/npm packages would have been present at the time so I can rebuild this old project?
Any help is appreciated! My ionic/cordova/npm experience is pretty limited so I might be missing something silly.
Thanks!
Ionic React in production
Would you recommend using ionic react for a project that meant to be in production in couple month?
Ionic 4 ion-textarea HTML
This would be the best overcome,
<ion-item>
<ion-label position="stacked">Problem Details</ion-label>
<ion-textarea type="text" rows="5"></ion-textarea>
</ion-item>
Livereload exits on change after cli update
Hello, after last ionic update (i think it was yesterday or the day before that) the command ionic cordova run android -l
began to exit after i make a change in the app code without any error or message. It’s very tedious to re run the command on every change and to wait do all the compilation. Does anyone is experiencing the same?
Ionic 4:I'm using pdf-viewer to view pdf files. but can't zoom the page in mobile
I’m sorry I can’t help right now, but I’m looking for a pdf solution for my app. What pdf-viewer did you integrate and how did you integrate it? If you let me know, maybe I can get it working on my end and figure out how to do the zoom.
ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android
Thanks for the suggestion but i solved the problem in a different way.
Ionic 4 - Force ios to use Material Design
Were you able to figure this out? I have the same question using React with Ionic
Ionic 3 with firebase messaging
Hello,
I am trying to add Firebase messaging in my app, to do so I follow:
and run the commands
- ionic cordova plugin add cordova-plugin-firebase
- npm install --save @ionic-native/firebase
Then I added in my code use in: FirebaseMessaging
connected a phone to the pc and run: “ionic cordova run android”
The error I received is:
Could not find support-media-compat.aar (com.android.support:support-media-compat:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-media-compat/26.1.0/support-media-compat-26.1.0.aar
Could not find support-core-utils.aar (com.android.support:support-core-utils:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-core-utils/26.1.0/support-core-utils-26.1.0.aar
The error is clear, when accessing the links I receive 404, How can I solve it?
Get user google photos
Hi all,
Is there a plugin that works with google photos ?
I need to get a users google photos images and show in the application.
Thank you
White areas when scrolling over virtualScroll with image grid
Still waiting for some response from Ionic team …
Certificate does not match profile type
same problem.
Certificates
Provisioning Profile
server response
the problem is only for development certificates, for production certificates works correctly
RESOLVED
I had chosen
instead of
Problem while getting Promise return
Can you accept that as a solution?
Ionic Video Streaming
Hi @krishkk.
My method was just adaptive streaming. It wasn’t live streaming.
So my methods may not help you, but I’ll mention them anyway.
It’s been a while, but from memory I used 2 different methods for iOS and Android.
For iOS I just used a standard video tag and for Android I used dash.js player.
I had to use the right kind of stream to allow the stream to work on the device’s OS.
So for iOS my stream had to be an Apple supported one (HLS) which can be seen on this link. My scenario maybe different to yours since I used Azure streaming services to stream video.
There is a streaming plugin that can be found here, that I haven’t used myself, but may be able to do what you want:
Building with lots of assets (EMFILE error)
Did you find the solution? I have same issue.
ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android
Can you tell me how you solved the problem?
Problem while getting Promise return
Thanks a lot but I mean the one with code I have written.
ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android
Yes, i modified network_security_config.xml file changing <domain>localhost</domain>
to <domain>served_ip</domain>
, after the last ionic update the served ip it’s “localhost” so there is no need to change the file anymore. I recommend you to update the app
Ionic DevApp Feedback Mega-thread
I have an issue with the Ionic Devapp when in my application I make an HTTP request with the cordova advanced http plugin (the ionic native http library), in particular with the sendRequest method. From the adb logcat I get the following error
Process: io.ionic.devapp, PID: 20077
java.lang.NoSuchMethodError: No virtual method getHttpUrlChecked(Ljava/lang/String;)Lokhttp3/HttpUrl; in class Lokhttp3/internal/Internal; or its super classes (declaration of 'okhttp3.internal.Internal' appears in base.apk)
at okhttp3.internal.huc.OkHttpURLConnection.buildCall(OkHttpURLConnection.java:373)
at okhttp3.internal.huc.OkHttpURLConnection.getOutputStream(OkHttpURLConnection.java:260)
at okhttp3.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:229)
at okhttp3.internal.huc.OkHttpsURLConnection.getOutputStream(OkHttpsURLConnection.java:26)
at com.github.kevinsawicki.http.HttpRequest.openOutput(HttpRequest.java:2902)
at com.github.kevinsawicki.http.HttpRequest.form(HttpRequest.java:3325)
at com.github.kevinsawicki.http.HttpRequest.form(HttpRequest.java:3285)
at com.github.kevinsawicki.http.HttpRequest.form(HttpRequest.java:3350)
at com.github.kevinsawicki.http.HttpRequest.form(HttpRequest.java:3255)
at com.synconset.cordovahttp.CordovaHttp.prepareRequestBody(CordovaHttp.java:239)
at com.synconset.cordovahttp.CordovaHttpPost.run(CordovaHttpPost.java:30)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
I get that error with Samsung N950F and Android 9.0 and a Nexus 5 with Lineage 14.1 Application works perfectly when run with Android Studio or Xcode.
Ionic 4 navigation not working as expected
Navigation between modules is not working. I’ve created an app base on the ionic starter tabs.
I modified Tab 3 from a simple page to a lazy loaded module that again contains two more lazy loaded modules, following a typical master/details pattern:
When I navigate to Tab 3 it shows the master page and lets me smoothly navigate to the containing details module. This navigation is working fine as expected.
In addition, I added a button in Tab 2 that navigates on click directly to the details module in Tab 3 by using Angular routerLink directive.
The result is that this navigation
-
doesn’t uses ionic’s nice navigation transition and
-
the details page doesn’t show ionics’s backbutton
This makes it impossible to navigate back to any previous state.
Navigating from anywhere of the application to anywhere is no problem in pure Angular apps and a very powerful feature. This must be supported in ionic as well without any constrains, I think.
If someone is interested to investigate the problem, please let me know an I’ll upload the app that’s reproduce the problem.
Hope to here from you!
Regards,
Andreas