henrychavez / nativescript-bottom-navigation

Nativescript plugin for Android & iOS to have the bottom navigation bar of Material Design
Apache License 2.0
58 stars 18 forks source link

JS ERROR TypeError: undefined is not an object (evaluating 'application_1.ios.window.safeAreaInsets.bottom') #18

Closed alexandruantonica closed 6 years ago

alexandruantonica commented 6 years ago

I have a problem with the plugin when I run the app on iPhone 7 iOS 10.2

┌──────────────────┬─────────────────┬────────────────┬──────────────────┐
│ Component        │ Current version │ Latest version │ Information      │
│ nativescript     │ 3.4.3           │ 4.0.0          │ Update available │
│ tns-core-modules │ 3.4.1           │ 4.0.0          │ Update available │
│ tns-android      │ 3.4.2           │ 4.0.1          │ Update available │
│ tns-ios          │ 3.4.1           │ 4.0.1          │ Update available │
└──────────────────┴─────────────────┴────────────────┴──────────────────┘

I think you should add some condition in case we run the app on iOS <11.

Thanks @henrychavez :)

henrychavez commented 6 years ago

This issue was solved here #21