Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

capacitor-plugin-getui

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-getui - npm Package Compare versions

Comparing version
0.0.8
to
0.0.9
+16
-1
android/build.gradle

@@ -0,1 +1,3 @@

import org.json.JSONObject
ext {

@@ -6,2 +8,3 @@ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'

androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0'
}

@@ -21,2 +24,14 @@

JSONObject pluginConfig
try {
String configFile = rootDir.getPath()+'/app/src/main/assets/capacitor.config.json'
File configJson = file(configFile)
JSONObject jsonObject = new JSONObject(configJson.text)
pluginConfig = jsonObject.plugins.Getui
} catch(Exception ignored) {
logger.info("----------------- 读取 capacitor.config.json 文件失败 -----------------")
logger.info(ignored.getMessage())
}
android {

@@ -34,3 +49,3 @@ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30

//后续所有产品的 APPID 均统一配置为 GETUI_APPID 占位符
GETUI_APPID: "",
GETUI_APPID: pluginConfig.getui_appid,
]

@@ -37,0 +52,0 @@ }

+6
-22

@@ -1,4 +0,2 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.yufu.plugin.getui">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.yufu.plugin.getui">

@@ -21,7 +19,5 @@ <queries>

<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="getui.permission.GetuiService.{$applicationId}" />
<uses-permission android:name="getui.permission.GetuiService.${applicationId}" />
<permission
android:name="getui.permission.GetuiService.{$applicationId}"
android:protectionLevel="signature" />
<permission android:name="getui.permission.GetuiService.${applicationId}" android:protectionLevel="signature" />

@@ -37,22 +33,10 @@ <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />

<application
android:allowBackup="true"
android:label="@string/app_name"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning"
tools:targetApi="m">
<application android:allowBackup="true" android:label="@string/app_name" android:usesCleartextTraffic="true" tools:ignore="GoogleAppIndexingWarning" tools:targetApi="m">
<service
android:name="com.yufu.plugin.getui.GetuiPushService"
android:exported="false"
android:label="PushService"
android:process=":pushservice" />
<service android:name="com.yufu.plugin.getui.GetuiPushService" android:exported="false" android:label="PushService" android:process=":pushservice" />
<service android:name="com.yufu.plugin.getui.GetuiIntentService" />
<meta-data
android:name="GETUI_APPID"
android:value=""
tools:replace="android:value" />
<meta-data android:name="GETUI_APPID" android:value="${GETUI_APPID}" tools:replace="android:value" />
</application>
</manifest>
{
"name": "capacitor-plugin-getui",
"version": "0.0.8",
"version": "0.0.9",
"description": "个推",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",