1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Compare commits

...

3 Commits

Author SHA1 Message Date
jaywcjlove
6d78177551 released v2.0.11 2020-07-28 16:53:34 +08:00
jaywcjlove
2557b6020b chore(android): Modify package name. 2020-07-28 16:52:47 +08:00
jaywcjlove
a9e5bdb91e chore: Modify bundleId & packageName. 2020-07-28 15:56:07 +08:00
12 changed files with 24 additions and 20 deletions

View File

@@ -86,7 +86,7 @@ def configureReactNativePom(def pom) {
name packageJson.title name packageJson.title
artifactId packageJson.name artifactId packageJson.name
version = packageJson.version version = packageJson.version
group = "com.uiwjs" group = "com.uiwjs.alipay"
description packageJson.description description packageJson.description
url packageJson.repository.baseUrl url packageJson.repository.baseUrl

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.uiwjs"> package="com.uiwjs.alipay">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

View File

@@ -1,4 +1,4 @@
package com.uiwjs; package com.uiwjs.alipay;
import com.alipay.sdk.app.AuthTask; import com.alipay.sdk.app.AuthTask;
import com.alipay.sdk.app.PayTask; import com.alipay.sdk.app.PayTask;

View File

@@ -1,4 +1,4 @@
package com.uiwjs; package com.uiwjs.alipay;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;

View File

@@ -35,12 +35,12 @@ android_library(
android_build_config( android_build_config(
name = "build_config", name = "build_config",
package = "com.example", package = "com.uiwjs.example.alipay",
) )
android_resource( android_resource(
name = "res", name = "res",
package = "com.example", package = "com.uiwjs.example.alipay",
res = "src/main/res", res = "src/main/res",
) )

View File

@@ -129,7 +129,7 @@ android {
} }
defaultConfig { defaultConfig {
applicationId "com.example" applicationId "com.uiwjs.example.alipay"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1 versionCode 1

View File

@@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root * <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree. * directory of this source tree.
*/ */
package com.example; package com.uiwjs.example.alipay;
import android.content.Context; import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient; import com.facebook.flipper.android.AndroidFlipperClient;

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example"> package="com.uiwjs.example.alipay">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />

View File

@@ -1,4 +1,4 @@
package com.example; package com.uiwjs.example.alipay;
import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivity;

View File

@@ -1,4 +1,4 @@
package com.example; package com.uiwjs.example.alipay;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;
@@ -62,7 +62,7 @@ public class MainApplication extends Application implements ReactApplication {
We use reflection here to pick up the class that initializes Flipper, We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode since Flipper library is not available in release mode
*/ */
Class<?> aClass = Class.forName("com.example.ReactNativeFlipper"); Class<?> aClass = Class.forName("com.uiwjs.example.alipay.ReactNativeFlipper");
aClass aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager); .invoke(null, context, reactInstanceManager);

View File

@@ -161,7 +161,6 @@
C40641DB7F56A684B820B607 /* Pods-example-tvOSTests.debug.xcconfig */, C40641DB7F56A684B820B607 /* Pods-example-tvOSTests.debug.xcconfig */,
9E02A36BA0975904A97235F2 /* Pods-example-tvOSTests.release.xcconfig */, 9E02A36BA0975904A97235F2 /* Pods-example-tvOSTests.release.xcconfig */,
); );
name = Pods;
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
@@ -294,6 +293,7 @@
TestTargetID = 13B07F861A680F5B00A75B9A; TestTargetID = 13B07F861A680F5B00A75B9A;
}; };
13B07F861A680F5B00A75B9A = { 13B07F861A680F5B00A75B9A = {
DevelopmentTeam = 968DSZ49MT;
LastSwiftMigration = 1120; LastSwiftMigration = 1120;
}; };
2D02E47A1E0B4A5D006451C7 = { 2D02E47A1E0B4A5D006451C7 = {
@@ -660,6 +660,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 968DSZ49MT;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = example/Info.plist; INFOPLIST_FILE = example/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -668,7 +669,7 @@
"-ObjC", "-ObjC",
"-lc++", "-lc++",
); );
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_BUNDLE_IDENTIFIER = com.uiwjs.example.alipay;
PRODUCT_NAME = example; PRODUCT_NAME = example;
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
@@ -683,6 +684,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 968DSZ49MT;
INFOPLIST_FILE = example/Info.plist; INFOPLIST_FILE = example/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
@@ -690,7 +692,7 @@
"-ObjC", "-ObjC",
"-lc++", "-lc++",
); );
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_BUNDLE_IDENTIFIER = com.uiwjs.example.alipay;
PRODUCT_NAME = example; PRODUCT_NAME = example;
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";

View File

@@ -1,15 +1,17 @@
{ {
"name": "@uiw/react-native-alipay", "name": "@uiw/react-native-alipay",
"version": "2.0.10", "version": "2.0.11",
"description": "基于 React Native 的支付宝插件支持Android/iOS。", "description": "基于 React Native 的支付宝插件支持Android/iOS。",
"main": "index.js", "main": "index.js",
"typings": "index.d.ts", "typings": "index.d.ts",
"files": [ "files": [
"README.md", "android/libs",
"android", "android/src",
"index.js", "android/build.gradle",
"ios",
"index.d.ts", "index.d.ts",
"ios" "index.js",
"README.md"
], ],
"scripts": { "scripts": {
"build": "typedoc" "build": "typedoc"