Windows phone 8 compatibility with phonegap build

  • 11
  • Idea
  • Updated 6 years ago
  • Implemented
I am developing a cross platform application, and I am using phonegap build.

But when I try to install the app on windows phone 8. It gives me an error that you cannot install a company app.

So please tell me which type of build is phonegap building?

Can I build a company app using phonegap build?
Photo of vipul saluja

vipul saluja

  • 8 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 11
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Vipul,

Your question is answered in this link below.

http://community.phonegap.com/nitobi/...

Thanks
Hyginus
Photo of vipul saluja

vipul saluja

  • 8 Posts
  • 0 Reply Likes
So xap file produced by phonegap build is compatible with?
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Vipul,

Yes ...That should be correct..I will check with my colleague who is on this issue with dev team.

and update you..soonest

Thanks
-Hyginus
Photo of vipul saluja

vipul saluja

  • 8 Posts
  • 0 Reply Likes
Sorry Hyginus but I didn't got you.
If the xap file is not compatible with windows phone 8 then for which device this file is made for?
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Vipul,

The link i shared with you mention that the XAP produced by Build is not compatible with Windows 8. and for my understanding it is a known issue, which the dev team is currently working on.

Kindly give time for me to verify this with the dev. team.

Thanks
Hyginus
Photo of vipul saluja

vipul saluja

  • 8 Posts
  • 0 Reply Likes
Thanks Hyginus,

Waiting for your final reply.
Photo of Dusty J

Dusty J

  • 2 Posts
  • 0 Reply Likes
I'd also like to know when Windows Phone 8 is expected to be supported. It's not documented anywhere which versions of Windows / Windows Phone is actually supported.
Photo of stanley.goldman

stanley.goldman

  • 12 Posts
  • 0 Reply Likes
Any news?
When can we build for Windows Phone 8?
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Dear All

I have created a feature request at the following location, so that our developers can share their plan for WP8 & W8 support:
https://github.com/phonegap/build/iss...

Thanks!
Photo of gabaum10

gabaum10

  • 16 Posts
  • 2 Reply Likes
Cool, there is no info in that thread though. Are they planning on actually posting updates in there, or is this another dead end that no one will look at?
Photo of Bruno

Bruno

  • 1 Post
  • 0 Reply Likes
This is a big gap for a service that I'd be willing to pay for: it's easy to use, cheap, and works well.

Is there anything that can be done to expedite this process? WP8 is definitely a decent platform while WP7 is full of gaps and honestly I do not know how many people would like to support it in a green field project.
Photo of Cap Gem

Cap Gem

  • 2 Posts
  • 0 Reply Likes
I have build an app in phonegap build, it works fine on Android. But when i try to run it on Windows Phone 8 Lumia 920 i get error message: "Can not install company application"

I have registered my phone at windows phone 8 dev center, and i can use it in Visual Studio.

Any suggestions?

This reply was created from a merged topic originally titled
Problem when deploying phonegap build app to windows phone 8 (Lumia 920).
Photo of Jose Luis Serrano Fernandez

Jose Luis Serrano Fernandez

  • 1 Post
  • 0 Reply Likes
Hello

tested with version 2.9.0 with template for windows phone 8 provided also didn't runs.

Any update?

Thanks
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Please subscribe and vote at the following URL:
https://github.com/phonegap/build/iss...

Thanks
Photo of 8arracuda

8arracuda

  • 8 Posts
  • 0 Reply Likes
I have the same problem as Cap Gem. (two posts up)

Any help is much appreciated!
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hi

Have you setup the device as developer phone?
http://msdn.microsoft.com/en-us/libra...
Photo of 8arracuda

8arracuda

  • 8 Posts
  • 0 Reply Likes
Yes, the phone is unlocked to be a phone for development. It appears in my microsoft developer account.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Partially implemented:

Windows Phone 8 Support added.
Windows 8 pending.
Photo of Pirkka Esko

Pirkka Esko

  • 6 Posts
  • 0 Reply Likes
Hmm, I just rebuilt my WP8 version and I still got the same "failed to install company app" error.

My phone is registered as a Dev Phone.
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Pirka,

May I inquire whether this was working previously and just stopped?

Can you explain how you have been installing it previously also?

Also check how many apps you have installed so far(doubt this should be an issue).

Have a look at the recommendation in the link below and let me know if that helps.

http://stackoverflow.com/questions/15416437/cannot-install-company-app-on-windows-phone-8

Thanks.
Photo of Pirkka Esko

Pirkka Esko

  • 6 Posts
  • 0 Reply Likes
Thanks for the quick reply.

Sorry - my bad - I was trying to circumvent the installation by not using the Application Deployment application.

I now managed to install the app, only to be greeted by a blank black screen. ;)

I feel my journey to shipping a WP8 compatible app has just begun.
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi Pirkka,

Noted.

Please follow instructions in the link above for setting thisng up.

If you are still experiencing issues, send us  your app id.

We'll try and test out the app and see what can be wrong.

Thanks.
Photo of Pirkka Esko

Pirkka Esko

  • 6 Posts
  • 0 Reply Likes
Thanks Ismael, but to clarify my app is not a "company app", but instead just a "normal" app that I installed on a development phone.

I've got one report of black screen on startup from single Android user as well, so it might not be an issue unique to WP platform. The app is working on my Android test phone however.

App ID is 904623 if you want to take a look.
Photo of 8arracuda

8arracuda

  • 8 Posts
  • 0 Reply Likes
I have the same "black screen" problem like Pirkka Esko.
The two (test-)apps I build with PhoneGap Build both had that issue.

As said earlier I wasn't able to install the app directly on the phone. (error-message: "..cannot install company app..."). I installed the app this way:

1. build the app with PG Build
2. downloaded the XAP file
3. Connected the WP8 device via USB
4. Installed the App with the "deloyment" tool that's part of the Windows Phone SDK.

My app is not intended to be a "company app".

App ID: 979849

Edit:
I found that thread about the black screen issue:
http://community.phonegap.com/nitobi/...

It seems that many people are affected by the issue. But there is no solution so far. :/

Edit2: Just a sidenote:
I did not add the windowsPhone platform to the PG Project! Can this be an issue?

I asked if it's neccessary in this thread: (answer: no)
http://community.phonegap.com/nitobi/...
Photo of Pirkka Esko

Pirkka Esko

  • 6 Posts
  • 0 Reply Likes
I was just able to install *another* app on WP8 - nice!

Thanks 8arracuda for the thread link. In my app the blank screen is black, not white as in that thread. I should probably debug this further by setting a green background in my HTML or something...
Photo of 8arracuda

8arracuda

  • 8 Posts
  • 0 Reply Likes
For me it seems to take the background color from your app. This would mean that the process of opening the app/page stops at some point.

When your background color is green, the blank screen should be green I guess.

Is there a good way to debug WP8 apps? Perhaps somethink like the google chrome debugger for mobile devices? https://www.youtube.com/watch?v=s4zpL...
Photo of Pirkka Esko

Pirkka Esko

  • 6 Posts
  • 0 Reply Likes
My other app installed fine, but clicks to links (onclick/ontouchup handlers) don't seem to trigger - app is unresponsive. Anyone else experienced this?

More info: I'm using React.js framework, and the app is working fine with Internet Explorer on the same device.
Photo of mrerik12345

mrerik12345

  • 2 Posts
  • 0 Reply Likes
I dont know if others experienced this problem but for some reason my app failed to locate javascript files in folders, thus I got the blank screen, worked perfectly by uglify all JS code and put the output file on same level as index.html with a script tag. Now my big issue with WP8 is that it seems like my app is not able to make a simple HTTP GET request. Anyone experienced that?
Photo of ismael jimoh

ismael jimoh

  • 4116 Posts
  • 192 Reply Likes
Hi,

It could be the way the pathing format for said platform.

In some case you need an absolute path starting with ../pathtofile/file, others, folder/file.

So will recommend trying the different ways and at worst place all files in same directory.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Issue marked as resolved. Please create new topic if you require further assistant.

Thank you.

This conversation is no longer open for comments or replies.