I am using ngcordova and application is working fine on http mode if i shift to https ios is working fine but android application is not connecting and showing error net::ERR_INSECURE_RESPONSE in console.Is there anything else i need to add.
Related
I am using Ionic4 + React. I have API serve with CORS enabled for all origins.
the API integration works perfect on chrome browser.
But when I run it on Android device using Capacitor the API fails with status as "failed".
I tried on another Andriod xiaomi Android 8.1 phone and it worked.
But it is still not working on Mobistart Android 8.1
I have made a simple android app using ionic and AngularJs and I run this app then it works in a a browser while I run app in Emulator then it is not working.So I want to find issue what is reason that it is not working so for this purpose I want to do testing and debugging
I have made a simple android app using Ionic and AngularJS and whenI run this app then it works in a browser while I run this app in Emulator then it is not working.
Please tell me how can I test and debug in a chrome for android app.And also tell me detail with step.
You can build the app in debug mode and then connect your computer to your Android phone that you want to test the app. After that, you install the app via the .apk that you just generated then start the app. Now that your app is running in your phone that is connected to your computer, you can debug via Google Chrome by inspecting it. Here is how to do so in details.
i created ionic project , installed ngCordova & cordova network information plugins , the network plugin works fine in browser but after installing android
platform & run app on mobile the plugin won't work anymore & show that error
please help , i really don't know what to do anymore
I have implemented a camera functionality in an ionic-angular based application.I am getting an error Camera is not defined.The above mentioned error is occurring when I am using the command ionic serve.The issue doesn't exist when command ionic browser is used.Also getting the same error Camera is not defined when I deployed the app to firebase.Any suggestions for steps I need to follow while deploying the app to firebase to avoid the error ?
Below is the behavior I could see.
I used the command ionic serve.
The Camera plugin doesn't loads in browser view and I could see the following error.
Error from browser
On using the command ionic run browser,Could see camera getting loaded.This is browser view.ionic run browser
This application is deployed using firebase deploy command and hosted in a firebase environment.I could see the same behavior ie(Camera not loading) when accessed the url through an android phone(Moto X Play). Is this expected?.Do I need to execute some other steps while deploying my application to firebase.
Also I have included the ngCordova dependencies in my app.js and included the cordova.js just before ng-cordova.js in my index.html.Currently this app is not installed in playstore or Apple app store.This application is developed in ionic and can be viewed in mobile device by accessing firebase hosting url in which the application is deployed.
Camera plugin is a cordova plugin.and some cordova plugins doesn't support in browser. so install your app into mobile, it will work fine.
I followed the following steps:
1 Install Postman from the Chrome Web Store (if you don't have it already!)
2 Install the Interceptor extension.
3 Open Postman.
4 Click on the Interceptor icon in the toolbar and switch the toggle to “on”
5 Browse your app or your website and monitor the requests stream in.
I see the Interceptor at the Chrome Postman, however I cant install it at MAC app. I also tried restarting my computer after the install but it dint work.
I have latest version of CHrome and Postman.
Postman: Version 4.7.0 (4.7.0)
Chrome: Version 53.0.2785.
Is there any other step need for MAC app Postman?
Postman has made it easy to install Interceptor in the native app. First, check if you are in the latest version of the app (Settings > About). If yes, then click on "Start lesson" and that will guide you get the "Interceptor connected"
Read more: https://learning.postman.com/docs/postman/sending-api-requests/interceptor/#installing-interceptor
Not sure about the Mac native app but Linux native app (v.4.9.3) can use cookies only when Google Chrome is started (even if it has Interceptor disabled).