Giter Club home page Giter Club logo

Comments (5)

erisu avatar erisu commented on July 23, 2024

[email protected] is set as the minimum requirement because it has the necessary SDK requirements defined for successfully building Android 13 related code.

Version 5.0.0 of this plugin contains code that was introduced in Android 13 (SDK 33) and will fail if the sdk configuration is wrong.

If you want to support Android 13 without upgrade cordova-android platform, you will need to fork the plugin, apply whatever PRs you want, test and fix on your on the issues that might appear.

Cordova most likely will not be able provide any support for customized plugins, custom platforms, or previous platform verions with modified SDKs out of its original support.

from cordova-plugin-media-capture.

erisu avatar erisu commented on July 23, 2024

Forgot to add one more thing

  • [email protected] requires cordova-android >= 12.0.0
  • [email protected] requires cordova-android >= 12.0.0
  • cordova-plugin-splashscreen is deprecated and no longer support for Android or iOS. It is only a browser plugin now.

from cordova-plugin-media-capture.

growthengineering avatar growthengineering commented on July 23, 2024

@erisu thanks for the quick reply.

I was checking the differences between 4.0.0 and 5.0.0
4.0.0...5.0.0

I am not able to identify anything which could explain the cordova android version upgrade.
Are you able to identify where that applies?

To provide support to Android 13, I believe this should be enough: (#262)

Are u able to confirm?

Thanks in advance

from cordova-plugin-media-capture.

erisu avatar erisu commented on July 23, 2024
            <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
            <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
            <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />

And also anywhere in code that uses those permissions E.g. Manifest.permission.READ_MEDIA_AUDIO, Manifest.permission.READ_MEDIA_IMAGES and Manifest.permission.READ_MEDIA_VIDEO

If you look up those permissions in Android Developer docs, you will see it was added in API 33.

Here is an example doc for one of those I listed above: https://developer.android.com/reference/android/Manifest.permission#READ_MEDIA_VIDEO

Cordova-Android 11 and old does not support API 33 right out of the box and would fail to build.

Cordova-Android 12 has been updated to support compiling API 33 right out of the box. That is why the requirement was bumped.

from cordova-plugin-media-capture.

joaolourencoge avatar joaolourencoge commented on July 23, 2024

@erisu thanks for the reply. That's clear from our side.
We will find the best way to move forward in our end.

Thanks

from cordova-plugin-media-capture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.