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

Does not work on versions of Android before 4.2.1 #14

Open
TimAidley opened this issue Apr 20, 2015 · 2 comments
Open

Does not work on versions of Android before 4.2.1 #14

TimAidley opened this issue Apr 20, 2015 · 2 comments

Comments

@TimAidley
Copy link
Contributor

Android doesn't get proper webp suppport until 4.2.1, which means devices with earlier versions than that will not work.

@TimAidley
Copy link
Contributor Author

Actually - earlier version of android don't work, but not because of the reason I stated above.

The DllImport attribute is meant not to include the 'lib' at the start of the library name, but it seems that later versions of android (4.2 or 4.3 onwards, I think) will ignore 'lib' put at the start of a library name whereas the older versions of android will not. I should have a pull request with a fix for this fairly soon.

@timleader
Copy link
Member

Good spot, your right the DllImports should never have had the 'lib' prefix (unfortunately I only have an Android 4.4 device, so the issue was never highlighted for me), should be as simple as removing the 'lib' prefix. I should be able to patch this on the weekend.

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