Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49185

Can't access http://localhost inside app when it running on emulator

$
0
0

@dlnsk wrote:

I use https://github.com/sahat/satellizer for OAuth 2.0 and on step 3 it should "Client: After successful authorization, the popup is redirected back to your app, e.g. http://localhost:3000, with the code (authorization code) query string parameter."

So, inside android/iOS should be work local webserver (I think) which could answer on this request.
I did test window.location.href and it's equal 'file://android_asset/www/index.html'

PS: When I 'serve' application it works fine because I run local web server on my laptop.

Please, help! What I'm doing wrong?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49185

Trending Articles



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