
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
cordova-plugin-log2c-doodle
Advanced tools
Cordova Doodle插件 对图片进行标记涂鸦 添加文字和打马赛克功能,iOS基于LFMediaEditingController
安装plugin
cordova plugin add cordova-plugin-log2c-doodle
config.xml中添加iOS需要的权限
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>need camera access to take pictures</string>
</edit-config>
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>need camera access to take pictures</string>
</edit-config>
<edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
<string>need location access to find things nearby</string>
</edit-config>
<edit-config target="NSPhotoLibraryAddUsageDescription" file="*-Info.plist" mode="merge">
<string>need photo library access to save pictures there</string>
</edit-config>
<edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">
<string>need photo library access to save pictures there</string>
</edit-config>
cordova.exec(success, error, 'DoodlePlugin', 'doodle', [arg0]);
参数:arg0 为图片路径(android:applocal://native/images/或者file:///开头的图片路径,iOS:assets-library)
返回结果为图片的Base64编码
示例:
(res) => { //Base64 },
(err) => { },
'DoodlePlugin',
'doodle',
['file:///storage/emulated/0/Android/data/io.ionic.starter/cache/1568251761843.jpg']);```
FAQs
Cordova doodle plugin.
We found that cordova-plugin-log2c-doodle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.