question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 11 crash with Polyline (v1.4.5)

See original GitHub issue

I’m submitting a … (check one with “x”) [ ] question [x] any problem or bug report [ ] feature request

The plugin version: (check one with “x”) [ ] 2.0-beta3 (github) [ ] 2.0 (npm) [x] v.1.4.5

If you choose ‘problem or bug report’, please select OS: (check one with “x”) [ ] Android [x] iOS

cordova information: (run $> cordova plugin list)

com.googlemaps.ios 2.4.0 “Google Maps SDK for iOS” com.rsginc.exceptionthrower 1.0.0 “Exception Thrower” com.rsginc.mobilesurvey 1.0.0 “Trip Recorder guts” cordova-fabric-plugin 1.1.7 “cordova-fabric-plugin” cordova-plugin-app-event 1.2.1 “Application Events” cordova-plugin-app-preferences 0.99.3 “AppPreferences” cordova-plugin-app-version 0.1.9 “AppVersion” cordova-plugin-background-fetch 4.0.4 “CDVBackgroundFetch” cordova-plugin-compat 1.1.0 “Compat” cordova-plugin-console 1.0.7 “Console” cordova-plugin-device 1.1.6 “Device” cordova-plugin-file 4.3.3 “File” cordova-plugin-file-transfer 1.6.3 “File Transfer” cordova-plugin-geolocation 2.4.3 “Geolocation” cordova-plugin-globalization 1.0.7 “Globalization” cordova-plugin-googlemaps 1.4.5 “cordova-googlemaps-plugin” cordova-plugin-inappbrowser 1.7.1 “InAppBrowser” cordova-plugin-localization-strings 1.0.1 “Localization” cordova-plugin-statusbar 2.2.3 “StatusBar” cordova-plugin-whitelist 1.3.2 “Whitelist” cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin” de.appplant.cordova.plugin.local-notification 0.8.5 “LocalNotification” ionic-plugin-keyboard 2.2.1 “Keyboard” {}

If you use @ionic-native/google-maps, please show me the package.json

Current behavior: Creating a Polyline crashes the app

Expected behavior: Create a Polyline without crashing

Steps to reproduce: Create a Polyline under iOS 11

Screen capture or video record:

Related code, data or error log (please format your code or data): (For creating 2 Polylines):

2017-09-21 10:05:07.771023-0400 rMove[274:14072] -[Polyline initWithWebViewEngine:]: unrecognized selector sent to instance 0x1c4137480 2017-09-21 10:05:07.771023-0400 rMove[274:14387] -[Polyline initWithWebViewEngine:]: unrecognized selector sent to instance 0x1c01372a0 2017-09-21 10:05:07.775361-0400 rMove[274:14072] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[Polyline initWithWebViewEngine:]: unrecognized selector sent to instance 0x1c4137480’ *** First throw call stack: (0x184157d38 0x18366c528 0x1841651f8 0x18415d6e4 0x1840430dc 0x100c596e4 0x100ba5490 0x10291949c 0x10291945c 0x10292556c 0x10292ab54 0x10292a880 0x183d83130 0x183d82c30) 2017-09-21 10:05:07.775361-0400 rMove[274:14387] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[Polyline initWithWebViewEngine:]: unrecognized selector sent to instance 0x1c01372a0’ *** First throw call stack: (0x184157d38 0x18366c528 0x1841651f8 0x18415d6e4 0x1840430dc 0x100c596e4 0x100ba5490 0x10291949c 0x10291945c 0x10292556c 0x10292ab54 0x10292a880 0x183d83130 0x183d82c30) libc++abi.dylib: terminating with uncaught exception of type NSException libc++abi.dylib: terminating with uncaught exception of type NSException

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
craig-at-rsgcommented, Sep 21, 2017

Upgrading to 2.0 fixed this for us, and it wasn’t that hard to do.

0reactions
steve-didomenicocommented, Jun 18, 2018

Just figured I’d leave this comment here for folks who are trying to use the old plugin. I found a fork here who appears to have fixed this crashing issue with iOS 11: https://github.com/luciman/phonegap-googlemaps-plugin . Specifically, this is the commit that seems to have solved this problem: https://github.com/luciman/phonegap-googlemaps-plugin/commit/1c5c9f00ef197cffe5d25d12a7e3c99e17e3dc64

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 11 home screen app crashes if … | Apple Developer Forums
After upgrading to iOS 11 we are finding that our home screen web app will crash if we try to launch it within...
Read more >
Android App crashes whenever it creates a polyline
It crashes whenever it attempts to create a line. I wanted to use PathOverlay but it's already deprecated. I want to create a...
Read more >
Maps SDK for iOS release notes - Google Developers
Earlier SDK versions will continue supporting iOS 11. ... Bug fixes. Fixed an issue where apps using the Maps SDK for iOS would...
Read more >
Instagram bug affecting some users causing iOS app to crash
Make sure you download it on the App Store. You can read the original article below. Instagram app crashing on iOS. As shown...
Read more >
Crashing on IPad Pro 2nd Generayion, using Apple Pencil (v1 ...
Zotero is a powerful, easy-to-use research tool that helps you gather, organize, and analyze sources and then share the results of your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found