Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
cordova-plugin-photoeditorsdk
Advanced tools
A Cordova plugin for PhotoEditor SDK. Integrate the photo editor into your own HTML5, iOS or Android app - in minutes!
Add PhotoEditor SDK plugin to your project as follows:
cordova plugin add cordova-plugin-photoeditorsdk
From version 3.0.0
the plugin uses AndroidX. To enable AndroidX in your application please adjust your config.xml
:
<platform name="android">
...
+ <preference name="AndroidXEnabled" value="true" />
...
</platform>
If your application is using legacy Android Support Libraries you can use the cordova-plugin-androidx-adapter
which will migrate the legacy libraries to work with AndroidX.
You can configure the modules used for the PhotoEditor SDK for Android by opening imglyConfig.gradle
and removing / commenting out the modules you do not need. This will also reduce the size of your application.
Because PhotoEditor SDK for Android with all its modules is quite large, there is a high chance that you will need to enable Multidex for your project as follows:
cordova plugin add cordova-plugin-enable-multidex
Each platform requires a separate license file. Unlock PhotoEditor SDK with a single line of code for both platforms via platform-specific file extensions.
Rename your license files:
ANY_NAME.android
ANY_NAME.ios
Pass the file path without the extension to the unlockWithLicense
function to unlock both iOS and Android:
PESDK.unlockWithLicense('www/assets/ANY_NAME');
Open the editor with an image:
PESDK.openEditor(
successCallback,
failureCallback,
PESDK.resolveStaticResource('www/assets/image.jpg')
);
Please see the code documentation for more details and additional customization and configuration options.
PESDK
.
declare var PESDK;
www
folder that will contain your compiled code and your assets. In order to pass resources to PhotoEditor SDK you need to use this folder.Please see our example project which demonstrates how to use the Cordova plugin for PhotoEditor SDK.
Make sure you have a commercial license for PhotoEditor SDK before releasing your app. A commercial license is required for any app or service that has any form of monetization: This includes free apps with in-app purchases or ad supported applications. Please contact us if you want to purchase the commercial license.
Use our service desk for bug reports or support requests. To request a commercial license, please use the license request form on our website.
[3.0.0]
configuration.text.allowEmojis
to opt in.FAQs
A Cordova plugin for PhotoEditor SDK. Integrate the photo editor into your own HTML5, iOS or Android app - in minutes!
The npm package cordova-plugin-photoeditorsdk receives a total of 3 weekly downloads. As such, cordova-plugin-photoeditorsdk popularity was classified as not popular.
We found that cordova-plugin-photoeditorsdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.