Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull-request #70 breaks build for application that target older Android version #71

Open
vo-va opened this issue Nov 23, 2020 · 1 comment

Comments

@vo-va
Copy link

vo-va commented Nov 23, 2020

<path_to_ionic_project>/platforms/android/app/src/main/java/com/moust/cordova/videoplayer/VideoPlayer.java:123: error: cannot find symbol
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
                                                        ^
  symbol:   variable R
  location: class VERSION_CODES
<path_to_ionic_project>/platforms/android/app/src/main/java/com/moust/cordova/videoplayer/VideoPlayer.java:124: error: cannot find symbol
            dialog.getWindow().getInsetsController().hide(WindowInsets.Type.statusBars());
                                                                      ^
  symbol:   variable Type
  location: class WindowInsets
<path_to_ionic_project>/platforms/android/app/src/main/java/com/moust/cordova/videoplayer/VideoPlayer.java:124: error: cannot find symbol
            dialog.getWindow().getInsetsController().hide(WindowInsets.Type.statusBars());
                              ^
  symbol:   method getInsetsController()
  location: class Window

To fix build for myself I've pinned version of plugin that I use to #5c83c858ed159d68cce1bf54e31d6caf7e145fbf

@NBAMj
Copy link

NBAMj commented Feb 3, 2021

There is only 1 readme change in this commit #5c83c858ed159d68cce1bf54e31d6caf7e145fbf?
How is it fixing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants