Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZXingScannerViewRenderer was causing the app to crash if the view was…
… inside a ContentView If the `ZXingScannerView` was inside of a `ContentView` instead of a `ContentPage`, the application would crash by throwing a `Java.Lang.NullPointerException`. The `Context` passed to `ZXingScannerViewRenderer` via the constructor was actually a `ContextThemeWrapper` which does not inherit from `Activity`. Therefore when it was cast in the call of the constructor of `ZXingScannerView` in the renderer on Android, a `null` would be passed for a context instead. Fixes: Redth#943
- Loading branch information