I am building a short ebook essentially use phonegap.

  • 1
  • Question
  • Updated 5 years ago
  • Answered
How many lines of HTML code is too much for the performance to start slowing down?
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
So I did do something similar. I'm just going to 'Explicit App ID' and making something up like com.example.payam

Am I supposed to be putting my phone's UDID in there instead?
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Why make something up? Don't you already have a proper app package/widget id in your config.xml?
And beware: the package name will show up publicly, so you want to pick an ID seriously and carefully.

And no, you don't put a UDID in an App ID. You would when defining the device, though.
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes


This is the only place where I can put an id in my config file. So is this where the Explicit app id and the id in my config file have to match?

Definitely, I understand that, but based on some of the tutorials I've seen people have said you can just make it up.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Yes, put something like "com.myorganization.myfineapp" in the widget id. Only use [a-z], no other characters.
Use whatever you enter there as App ID in the Apple Dev Portal to register your app. Then pick that App ID, a developer certificate and your registered test devices for the mobileprovision

[In fact, if widget ID and package id in the PGB signing key don't match, PGB will take whatever the signing key mentions. But it's good practice to make sure that widget ID and App ID match]

When doing things at Apple Dev Portal and in iTunesConnect, follow the Apple Documentation closely, and don't (just) rely on "what people say".
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
So I followed everything you said and am still having the same issue.

https://build.phonegap.com/apps/13047...

This is my build. I just want to test this on my device, I'm not sure why I'm running into so many issues..
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Since I'm not a PGB support staff member, I can't access your app. Hopefully someone from PGB crew will chime in and have a look.
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
Ok thanks. This is pretty frustrating considering I just want to test this on my phone. If PGB gives it an ok to build I don't see why I can't just test this. Thanks again for all your help.
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Stuck on 'Installing...' loop when I try to test app on my iPhone 5 iOS. Anyone k....

why?

I have the latest version of PG

I have double checked the widget id in my config.xml file and made sure it matched the explicit app id when I create the app in the developer console

What could I be doing wrong?
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled I can't put my phone gap ipa file on my iphone and the installing just keeps runn....

I am trying to put the new ipa file on my iOS device through iTunes. When I sync it with my device, it just keeps showing "Installing..." and it doesn't end up actually doing the install. I've done some research and am not sure what to do.

I have the latest version 3.6.3 and believe I created all the certificates and provisioning needed correctly otherwise PGB would have given me an error.

I have a iphone 5 and am running iOS 7.

What do I do?

Thanks
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
Hi Petra,

I'm still getting the install loop when I transfer the file on my phone. People are saying to:

"The problems I had were making sure the UDID was correct/the device was authorised and yes, generating the certs. Just do it all again to make sure."

I have no idea how to do this. Generating the certs is a meticulous process, I need detailed instructions. Can you please help me figure this out? I just want to test this on my device.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
If you are on a Windows machine, I suggest you follow this:
http://community.phonegap.com/nitobi/...
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
I'm on a mac, is there another tutorial you recommend?
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
Thanks again for all the info. I added the UDID to my devices and was about to add the ipa file to itunes but am getting this issue:

'Error - Unable to import Certificate - You can fix this here'

PG doesn't support much support with how to troubleshoot this. What do you think?
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
This message usually means that you mixed up certificates. For instance a .p12 for development with a distribution .mobileprovision.
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
Well in the case that I want to test the app on my device right now and not submit to the app store, won't I need a development mobileprovision and not a development?
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
I've literally spent 20 hours just trying to get this app on my phone and I can't speak with one employee about this. How ridiculous is this.
Photo of Payam Pakmanesh

Payam Pakmanesh

  • 35 Posts
  • 0 Reply Likes
Hi Petra,

I finally got it to work! But wow, I am not happy with the quality. The app has a delay, and there isn't smooth scrolling. If I scroll hard enough and hold it, the entire app moves up or down (could be the frame? not sure).

Just overall glitchy and delayed. Have you experienced this?