# PhoneGap sample only works with npm run

**URL:** <https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232>\
**Category:** Get Help\
**Tags:** phonegap, npm, xamarin\
**Created:** [April 21, 2019, 2:27pm UTC](https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232 "2019-04-21T14:27:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajaauthowner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rajaauthowner/32/13366_2.png) [@rajaauthowner](https://community.auth0.com/u/rajaauthowner)\
**Post date:** [April 21, 2019, 2:27pm UTC](https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232/1 "2019-04-21T14:27:10Z")

</div>

I downloaded the phonegap sample, sent it to [build.phonegap.com](http://build.phonegap.com), got an apk back and installed it on my Android phone. When I opened the app all I get is a blank screen. I tried the same on PhoneGap desktop app, which runs a web server and makes the app available on a desktop browser, when I hit the login button, I get “Requests to the server have been blocked by an extension.” This is a very generic failure encountered on different sites as well. So I stock with npm to make some progress, and noticed the login screen is showing an address bar. I dont see browser opened as a separate application though. On Xamarin sample the chrome browser is opened as a separate application. The phonegap issue is more important to me because that’s is what we are using for our medical device. Basically I want to have a sample phone gap application running on Android and make sure the login screen appears as if it is integrated with the application rather than showing a browser address bar or anything like that.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [April 26, 2019, 5:26pm UTC](https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232/2 "2019-04-26T17:26:03Z")

</div>

Hey there @rajaauthowner, I would love to help you but can you share with me more details about the situation? The complete stack you are using and auth0’s hand in it? I just want to understand so I can help deliver the best possible solution to you. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [May 10, 2019, 9:26pm UTC](https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232/4 "2019-05-10T21:26:11Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
