"Unfortunately My App has stopped"

  • 1
  • Problem
  • Updated 4 years ago
Something is strange with phonegap build in cloud. I am trying to buld several version of my app, and everithing is normal, but, when I open my index page app crashes, it say: "Unfortunately My App has stopped". I hav versions that worked in past 100%. I have 1 second to click to another page from my index page before it stops working, and when I go to another pages it is working Only problem is with index page. Pleas help me, this is app that my clients are using
Photo of JobClub Aplikacija

JobClub Aplikacija

  • 3 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
You need to debug that first page. It is important to know which line of code fails.
If you can't do that, you would need to have a look at your plugins. Is it one particular plugin that throws an error?

I can't be ore precise at this point, since you don't even mention:
- your PGB version
- what OS the failing app runs on,
- whether or not it happens on all devices
Photo of JobClub Aplikacija

JobClub Aplikacija

  • 3 Posts
  • 0 Reply Likes
Thank you for your respond, now my app is working. The problem was with PooshWoosh notification plugin. Now I delete it. I don know why it does not working. Previous app that I compiled on PG cloud are working, and notifications are working, but now when I compile with PooshWoosh it is not working
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
There is no Pooshwoosh plugin, so you may have misspelled the plugin's name in your config or in any javascript code.
Photo of JobClub Aplikacija

JobClub Aplikacija

  • 3 Posts
  • 0 Reply Likes
sorry, it is my mistake here in question. It is PushWoosh. Until yesterday everything was OK and working. Then I change some text in my app and compiled it on PGB, and after that it is not working. Now I commented out script tag with pushwoosh on my index page and it is working. I leave plug in in config file. When there was a problem, index page has working for 1 second and then app is crashing. The reason is probably because PushWoosh has tried to send request for registration for notifications, and before it send Index page is working normally (for that 1 sec).
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@jobClub
Since this appears to be your first posting, please answer the following questions.
- is this your first hybrid mobile app?
- are you using phonegap desktop app?
- Are you using CLI, Build or SDK? Please do not assume the answer. Please read the link.

Thanks
Jesse