@greensoul/expo-native-wechat 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +94 -0
- package/UPSTREAM.md +49 -0
- package/android/build/.transforms/8eaaf091b6b9d168861055549f685577/results.bin +1 -0
- package/android/build/.transforms/8eaaf091b6b9d168861055549f685577/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/expo/modules/nativewechat/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/greensoul-expo-native-wechat_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/expo/modules/nativewechat/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +16 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/greensoul-expo-native-wechat_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/AppPureSignContractParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/BasicRequestParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$2$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$6$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$7$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$7$onCoverDownloaded$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$8$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$8$onCoverDownloaded$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$9$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$1$9$onCoverDownloaded$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$10.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$11.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$12.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$13.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$14.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$15.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$17.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$18.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$19.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$20.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$21.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$22.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$23.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$24.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$25.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$26.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$27.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$28.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$29.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$30.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$7.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$Function$9.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule$definition$lambda$16$$inlined$FunctionWithoutArgs$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatUtils$DownloadBitmapCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatUtils$downloadFileAsBitmap$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ExpoNativeWechatUtils.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/LaunchMiniprogramParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/NativeWechatRespDataHelper.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/OpenBusinessViewParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/OpenCustomerServiceParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/RegisterAppParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/RequestMerchantTransferParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/RequestPaymentParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/RequestSubscribeMsgParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/SendAuthRequestParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ShareImageParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ShareMiniProgramParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ShareTextParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ShareVideoParams.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/ShareWebpageParams.class +0 -0
- package/android/build.gradle +118 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/expo/modules/nativewechat/ExpoNativeWechatModule.kt +509 -0
- package/android/src/main/java/expo/modules/nativewechat/ExpoNativeWechatModuleParams.kt +229 -0
- package/android/src/main/java/expo/modules/nativewechat/ExpoNativeWechatUtils.kt +64 -0
- package/android/src/main/java/expo/modules/nativewechat/NativeWechatRespDataHelper.kt +64 -0
- package/app.plugin.js +173 -0
- package/build/hooks.d.ts +2 -0
- package/build/hooks.d.ts.map +1 -0
- package/build/hooks.js +12 -0
- package/build/hooks.js.map +1 -0
- package/build/index.d.ts +102 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +247 -0
- package/build/index.js.map +1 -0
- package/build/module.d.ts +3 -0
- package/build/module.d.ts.map +1 -0
- package/build/module.js +5 -0
- package/build/module.js.map +1 -0
- package/build/notification.d.ts +12 -0
- package/build/notification.d.ts.map +1 -0
- package/build/notification.js +33 -0
- package/build/notification.js.map +1 -0
- package/build/typing.d.ts +41 -0
- package/build/typing.d.ts.map +1 -0
- package/build/typing.js +2 -0
- package/build/typing.js.map +1 -0
- package/build/utils.d.ts +4 -0
- package/build/utils.d.ts.map +1 -0
- package/build/utils.js +9 -0
- package/build/utils.js.map +1 -0
- package/expo-module.config.json +10 -0
- package/ios/ExpoNativeWechat-Bridging-Header.h +10 -0
- package/ios/ExpoNativeWechat.h +19 -0
- package/ios/ExpoNativeWechat.podspec +28 -0
- package/ios/ExpoNativeWechatLogger.h +17 -0
- package/ios/ExpoNativeWechatLogger.m +26 -0
- package/ios/ExpoNativeWechatModule.swift +392 -0
- package/ios/ExpoNativeWechatModuleParams.swift +230 -0
- package/ios/ExpoWechatDelegate.swift +30 -0
- package/ios/ExpoWechatUtils.swift +60 -0
- package/ios/RespDataHelper.h +8 -0
- package/ios/RespDataHelper.m +54 -0
- package/ios/ResponseHandler.h +15 -0
- package/ios/ResponseHandler.m +22 -0
- package/package.json +60 -0
package/README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# @greensoul/expo-native-wechat
|
|
2
|
+
|
|
3
|
+
> Fork of [expo-native-wechat](https://github.com/Hector-Chong/expo-native-wechat) with added `openBusinessView` support.
|
|
4
|
+
|
|
5
|
+
A Expo Module for supporting Wechat APIs on Android and iOS.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- WeChat Login (Authorization)
|
|
10
|
+
- Share (Text, Image, Video, Webpage, MiniProgram)
|
|
11
|
+
- WeChat Pay
|
|
12
|
+
- Launch MiniProgram
|
|
13
|
+
- Customer Service
|
|
14
|
+
- Subscribe Message
|
|
15
|
+
- **openBusinessView** (NEW) - Generic interface for all business types
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add @greensoul/expo-native-wechat
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Configuration
|
|
24
|
+
|
|
25
|
+
### app.json
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"expo": {
|
|
30
|
+
"scheme": ["wxYOUR_APP_ID"],
|
|
31
|
+
"ios": {
|
|
32
|
+
"associatedDomains": ["applinks:your-domain.com"],
|
|
33
|
+
"infoPlist": {
|
|
34
|
+
"LSApplicationQueriesSchemes": ["weixin", "weixinULAPI", "weixinURLParamsAPI"]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"plugins": ["@greensoul/expo-native-wechat"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
### Register App
|
|
45
|
+
|
|
46
|
+
```typescript
|
|
47
|
+
import { registerApp } from '@greensoul/expo-native-wechat';
|
|
48
|
+
|
|
49
|
+
// Register on app start
|
|
50
|
+
await registerApp({
|
|
51
|
+
appid: 'wxYOUR_APP_ID',
|
|
52
|
+
universalLink: 'https://your-domain.com/app/',
|
|
53
|
+
});
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### openBusinessView (New Feature)
|
|
57
|
+
|
|
58
|
+
Generic interface for opening WeChat business views.
|
|
59
|
+
|
|
60
|
+
```typescript
|
|
61
|
+
import { openBusinessView } from '@greensoul/expo-native-wechat';
|
|
62
|
+
|
|
63
|
+
// Example: Open enterprise payment
|
|
64
|
+
const result = await openBusinessView({
|
|
65
|
+
businessType: 'mp_business_type',
|
|
66
|
+
query: 'token=xxx',
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
// Example: Open payment score detail
|
|
70
|
+
const result = await openBusinessView({
|
|
71
|
+
businessType: 'wxpayScoreDetail',
|
|
72
|
+
query: 'mch_id=xxx&service_id=xxx&out_order_no=xxx&...',
|
|
73
|
+
});
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Supported businessType
|
|
77
|
+
|
|
78
|
+
| businessType | Description |
|
|
79
|
+
|-------------|-------------|
|
|
80
|
+
| `mp_business_type` | Enterprise Payment |
|
|
81
|
+
| `wxpayScoreDetail` | Payment Score Detail |
|
|
82
|
+
| `wxpayScoreEnable` | Payment Score Authorization |
|
|
83
|
+
| `wxpayCouponUse` | Coupon |
|
|
84
|
+
| `wxpayCardMember` | Member Card |
|
|
85
|
+
|
|
86
|
+
## Differences from upstream
|
|
87
|
+
|
|
88
|
+
1. Added generic `openBusinessView` interface
|
|
89
|
+
2. Fixed Android SDK version to `6.8.31` (stable version, not SNAPSHOT)
|
|
90
|
+
3. Package renamed to `@greensoul/expo-native-wechat`
|
|
91
|
+
|
|
92
|
+
## License
|
|
93
|
+
|
|
94
|
+
MIT - Original work by [Héctor Chong](https://github.com/Hector-Chong)
|
package/UPSTREAM.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Upstream Tracking
|
|
2
|
+
|
|
3
|
+
This package is a fork of [expo-native-wechat](https://github.com/Hector-Chong/expo-native-wechat).
|
|
4
|
+
|
|
5
|
+
## Fork Information
|
|
6
|
+
|
|
7
|
+
- **Original Repository**: https://github.com/Hector-Chong/expo-native-wechat
|
|
8
|
+
- **Fork Version**: v0.3.1
|
|
9
|
+
- **Fork Date**: 2026-02-02
|
|
10
|
+
|
|
11
|
+
## Modifications
|
|
12
|
+
|
|
13
|
+
### 1. Added `openBusinessView` Interface
|
|
14
|
+
|
|
15
|
+
A generic interface for opening WeChat business views with any `businessType`.
|
|
16
|
+
|
|
17
|
+
**Files modified:**
|
|
18
|
+
- `src/index.ts` - Added `openBusinessView` export function
|
|
19
|
+
- `src/typing.ts` - Added `OpenBusinessViewResponse` type
|
|
20
|
+
- `ios/ExpoNativeWechatModule.swift` - Added `openBusinessView` function
|
|
21
|
+
- `ios/ExpoNativeWechatModuleParams.swift` - Added `OpenBusinessViewParams` struct
|
|
22
|
+
- `android/.../ExpoNativeWechatModule.kt` - Added `openBusinessView` function
|
|
23
|
+
- `android/.../ExpoNativeWechatModuleParams.kt` - Added `OpenBusinessViewParams` class
|
|
24
|
+
|
|
25
|
+
### 2. Fixed Android SDK Version
|
|
26
|
+
|
|
27
|
+
Changed from `wechat-sdk-android:+` (which pulls SNAPSHOT versions) to `wechat-sdk-android:6.8.31` (stable version).
|
|
28
|
+
|
|
29
|
+
**Files modified:**
|
|
30
|
+
- `android/build.gradle`
|
|
31
|
+
|
|
32
|
+
### 3. Package Renamed
|
|
33
|
+
|
|
34
|
+
Changed package name from `expo-native-wechat` to `@greensoul/expo-native-wechat`.
|
|
35
|
+
|
|
36
|
+
**Files modified:**
|
|
37
|
+
- `package.json`
|
|
38
|
+
|
|
39
|
+
## Syncing with Upstream
|
|
40
|
+
|
|
41
|
+
To sync with upstream changes:
|
|
42
|
+
|
|
43
|
+
1. Check upstream releases: https://github.com/Hector-Chong/expo-native-wechat/releases
|
|
44
|
+
2. Compare changes manually
|
|
45
|
+
3. Apply relevant updates while preserving our modifications
|
|
46
|
+
|
|
47
|
+
## Contributing Back
|
|
48
|
+
|
|
49
|
+
Consider contributing the `openBusinessView` feature back to the upstream repository as a PR.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o/classes
|
|
Binary file
|
package/android/build/generated/source/buildConfig/debug/expo/modules/nativewechat/BuildConfig.java
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Automatically generated file. DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
package expo.modules.nativewechat;
|
|
5
|
+
|
|
6
|
+
public final class BuildConfig {
|
|
7
|
+
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
8
|
+
public static final String LIBRARY_PACKAGE_NAME = "expo.modules.nativewechat";
|
|
9
|
+
public static final String BUILD_TYPE = "debug";
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"artifactType": {
|
|
4
|
+
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
|
5
|
+
"kind": "Directory"
|
|
6
|
+
},
|
|
7
|
+
"applicationId": "expo.modules.nativewechat",
|
|
8
|
+
"variantName": "debug",
|
|
9
|
+
"elements": [
|
|
10
|
+
{
|
|
11
|
+
"type": "SINGLE",
|
|
12
|
+
"filters": [],
|
|
13
|
+
"attributes": [],
|
|
14
|
+
"outputFile": "AndroidManifest.xml"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"elementType": "File"
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#Mon Feb 02 21:48:40 CST 2026
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/debug/jniLibs"/></dataSet></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/debug/shaders"/></dataSet></merger>
|
|
Binary file
|
|
Binary file
|
package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0 Warning/Error
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
expo.modules.nativewechat
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
ADDED
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
-- Merging decision tree log ---
|
|
2
|
+
manifest
|
|
3
|
+
ADDED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml:1:1-2:12
|
|
4
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml:1:1-2:12
|
|
5
|
+
package
|
|
6
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml
|
|
7
|
+
xmlns:android
|
|
8
|
+
ADDED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml:1:11-69
|
|
9
|
+
uses-sdk
|
|
10
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
11
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml
|
|
12
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml
|
|
13
|
+
android:targetSdkVersion
|
|
14
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml
|
|
15
|
+
android:minSdkVersion
|
|
16
|
+
INJECTED from /Users/linyi/future/greensoul/packages/expo-native-wechat/android/src/main/AndroidManifest.xml
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/expo/modules/nativewechat/BasicRequestParams.class
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|