Closed VladimirAmiorkov closed 6 years ago
@PeterStaev This https://github.com/PeterStaev/nativescript-image-swipe/blob/master/image-swipe.ios.ts#L30 should be moved out of the constructor and into the initNativeView()
because it is too early to access it in the TS constructor.
I have made a PR that resolves this issue: https://github.com/PeterStaev/nativescript-image-swipe/pull/33
CC @PeterStaev can you review this and plan a publish of new version? Thank you.
Hey @VladimirAmiorkov , thanks for tracing and fixing this 👍 New version is now on npm 😉
@PeterStaev Awesome, no problem happy to help. Thank you.
Got this error after upgrading to NativeScript 5.0.0 + Angular 7.0.0:
Here is the component to which I am navigating that holds the swipe view:
Even with nothing set to the
ImageSwipe
the error is thrown. Looks like there is an issue with the initialization of the .ios portion of the ImageSwipe instance with NativeScript 5.0.0