Skip to content

Bug in ProgressIndicator plugin is causing crash in iOS #34

@Justin-Credible

Description

@Justin-Credible

The ProgressIndicator native code plugin (org.pbernasconi.progressindicator) is causing EXC_BAD_ACCESS crashes in iOS. This seems to occur sometimes when calling hide() after an indicator has already been hidden. This happens in the JavaScript exception handlers in Application.ts.

There are a couple of options here:

  1. Look for a replacement progress indicator plugin
  2. Don't call hide() in the script exception handlers
  3. Fork and attempt to fix the current plugin
  4. Submit issue to the original plugin maintainer

Option 1 is attractive because the current plugin does not support Android, so finding an alternative plugin that has Android support would allow me to ditch the MockApi implementation for Android. If no subtable alternative could be found, perhaps I could just use the mock implementation which utilizes Ionic.

I would like to avoid option 2 because if an exception occurs during an HTTP request the progress indicator may never be hidden, leaving the user stuck.

I'll try 4 for now; opened pbernasconi/cordova-progressIndicator#20.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions