1 Star 0 Fork 0

C-racker/cordova-plugin-umengpush

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
plugin.xml 3.45 KB
一键复制 编辑 原始数据 按行查看 历史
Luo YuanLi 提交于 2019-06-25 14:05 +08:00 . 添加获取通知参数
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-umengpush" version="1.0.0">
<name>UMengPush</name>
<js-module name="UMengPush" src="www/UMengPush.js">
<clobbers target="cordova.plugins.UMengPush"/>
<clobbers target="UMengPush"/>
</js-module>
<platform name="android">
<hook src="scripts/android_app_name.js" type="after_prepare"/>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="UMengPush">
<param name="android-package" value="com.yl.umeng.UMengPush"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<config-file mode="merge" parent="/manifest/application" target="AndroidManifest.xml">
<activity android:exported="true" android:launchMode="singleTask" android:name="com.yl.umeng.PushActivity" android:screenOrientation="landscape"/>
<meta-data android:name="UM_APPKEY" android:value="$UM_APPKEY"/>
<meta-data android:name="UM_MESSAGE_SECRET" android:value="$UM_MESSAGE_SECRET"/>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"/>
<framework custom="true" src="src/android/plugin.gradle" type="gradleReference"/>
<source-file src="src/android/UMengPush.java" target-dir="src/com/yl/umeng"/>
<source-file src="src/android/UMApplication.java" target-dir="src/com/yl/umeng"/>
<source-file src="src/android/PushActivity.java" target-dir="src/com/yl/umeng"/>
<lib-file src="src/android/libs/umeng-common-1.4.4.jar"/>
<lib-file src="src/android/libs/utdid4all-1.1.5.3_proguard.jar"/>
<resource-file src="src/android/aars/push.aar" target="libs/push.aar"/>
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="UMengPush">
<param name="ios-package" value="UMengPush"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/UMengPush.h"/>
<header-file src="src/ios/AppDelegate+UmengPush.h"/>
<source-file src="src/ios/UMengPush.m"/>
<source-file src="src/ios/AppDelegate+UmengPush.m"/>
<framework src="src/ios/librarys/SecurityEnvSDK.framework" custom="true"/>
<framework src="src/ios/librarys/UMCommon.framework" custom="true"/>
<framework src="src/ios/librarys/UMCommonLog.framework" custom="true"/>
<framework src="src/ios/librarys/UMPush.framework" custom="true"/>
<framework src="src/ios/librarys/UTDID.framework" custom="true"/>
<resource-file src="src/ios/librarys/UMCommonLog.bundle"/>
<framework src="CoreTelephony.framework" />
<framework src="UserNotifications.framework" />
<framework src="libz.tbd" />
<framework src="libsqlite3.tbd" />
</platform>
</plugin>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lywp/cordova-plugin-umengpush.git
git@gitee.com:lywp/cordova-plugin-umengpush.git
lywp
cordova-plugin-umengpush
cordova-plugin-umengpush
master

搜索帮助