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

[video_player_avplay] Need to OS version check #786

Open
JSUYA opened this issue Dec 23, 2024 · 2 comments
Open

[video_player_avplay] Need to OS version check #786

JSUYA opened this issue Dec 23, 2024 · 2 comments

Comments

@JSUYA
Copy link
Member

JSUYA commented Dec 23, 2024

The avplay package must be built with the same OS version and application api-version.
in some cases, compatibility may be supported and execution may be possible, but it does not guarantee correct operation.

Therefore, when an app is executed that does not match the OS version or when the app is executed on an unsupported OS version, an appropriate exception and guidance must be provided.

We need to find the necessary ways to support this.

@xiaowei-guan
Copy link
Contributor

We implemented a version that didn't need version check, but it would include all versions libs in TPK file, and makde the tpk file size larger.
https://github.com/hyue7/plugins/tree/avplay/muti_api/packages/video_player_avplay/

@JSUYA
Copy link
Member Author

JSUYA commented Jan 7, 2025

As you all know, there is currently no way to solve the compatibility issue of avplay.

I want to compare the api-version(defined in the manifest) and platform version in the initialize step of avplay and, if they are different, cause the initialization of the video to fail.
This will prevent apps from unintentionally serving the tpk package on an OS version that is not supported.
I also think that it will prevent mistakes in the verification phase of the new Tizen OS.

So.. The platform version can be obtained from the device_info plugin. The api-version can be provided by adding an API in the flutter-tizen plugin. I will work on this and plan to add a comparison step to avplay.

Please share your idea if you have any.

JSUYA added a commit to JSUYA/plugins that referenced this issue Jan 7, 2025
Add a step to the initialization phase that compares
the API version of the app using avplay with the version of TizenOS.
This prevents TPKs built with avplay from running on TizenOS versions
for which they are not intended.

related issue: flutter-tizen#786
JSUYA added a commit to JSUYA/plugins that referenced this issue Jan 7, 2025
Add a step to the initialization phase that compares
the API version of the app using avplay with the version of TizenOS.
This prevents TPKs built with avplay from running on TizenOS versions
for which they are not intended.

related issue: flutter-tizen#786
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