Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apache/cordova-plugin-compat
[DEPRECATED] Apache Cordova Plugin Compatibility
https://github.com/apache/cordova-plugin-compat
cordova cplusplus csharp java javascript library mobile nodejs objective-c
Last synced: about 1 month ago
JSON representation
[DEPRECATED] Apache Cordova Plugin Compatibility
- Host: GitHub
- URL: https://github.com/apache/cordova-plugin-compat
- Owner: apache
- Archived: true
- Created: 2016-04-05T07:00:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T17:19:08.000Z (over 5 years ago)
- Last Synced: 2024-09-26T16:01:21.764Z (about 1 month ago)
- Topics: cordova, cplusplus, csharp, java, javascript, library, mobile, nodejs, objective-c
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 36
- Watchers: 21
- Forks: 41
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-capacitor - `cordova-plugin-compat`
README
cordova-plugin-compat
---------------------------
📌 **Deprecation Notice**This repository is deprecated and no more work will be done on this by Apache Cordova. You can continue to use this and it should work as-is but any future issues will not be fixed by the Cordova community.
Feel free to fork this repository and improve your fork. Existing forks are listed in [Network](../../network) and [Forks](../../network/members).
- Learn more: https://github.com/apache/cordova/blob/master/deprecated.md#deprecated-other
---This repo is for remaining backwards compatible with previous versions of Cordova.
## Deprecated
> This plugin is no longer being worked on as the functionality provided by this plugin is now included in cordova-android 6.3.0. You should upgrade your application to use version 1.2.0 of this plugin. It will detect whether or not the plugin is required based on the version of cordova-android your app uses.
## USAGE
Your plugin can depend on this plugin and use it to handle the new run time permissions Android 6.0.0 (cordova-android 5.0.0) introduced.
View [this commit](https://github.com/apache/cordova-plugin-camera/commit/a9c18710f23e86f5b7f8918dfab7c87a85064870) to see how to depend on `cordova-plugin-compat`. View [this file](https://github.com/apache/cordova-plugin-camera/blob/master/src/android/CameraLauncher.java) to see how `PermissionHelper` is being used to request and store permissions. Read more about Android permissions at http://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#android-permissions.