react-native-trustdevice 0.1.3 → 0.1.5
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 +2 -13
- package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
- package/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.idea/gradle.xml +13 -0
- package/android/.idea/misc.xml +14 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/.idea/workspace.xml +47 -0
- package/android/build/.transforms/3d198a7540692ddfa05d95b171264bc8/results.bin +1 -0
- package/android/build/.transforms/3d198a7540692ddfa05d95b171264bc8/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/a36126f0a42245443eab402f572111df/results.bin +1 -0
- package/android/build/.transforms/a36126f0a42245443eab402f572111df/transformed/classes/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/com/trustdevice/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_main_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +5 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/annotations_typedef_file/debug/typedefs.txt +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +1961 -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/debug-mergeJavaRes/merge-state +0 -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/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/javac/debug/classes/com/trustdevice/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/trustdevice/TrustdeviceModule$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/trustdevice/TrustdeviceModule.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/trustdevice/TrustdevicePackage.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/trustdevice/utils/TDUniRiskUtils.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +8 -0
- package/android/build/intermediates/merged_java_res/debug/feature-react-native-trustdevice.jar +0 -0
- package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +7 -0
- package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
- package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +18 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +1454 -0
- package/android/build/intermediates/variant_model/debug/variant_model.json +0 -0
- package/android/build/outputs/aar/react-native-trustdevice-debug.aar +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +25 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/package.json +1 -1
- package/ios/TrustDevice.xcodeproj/project.xcworkspace/xcuserdata/lee.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/TrustDevice.xcodeproj/xcuserdata/lee.xcuserdatad/xcschemes/xcschememanagement.plist +0 -19
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Execute in your react native project root directory
|
|
|
30
30
|
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
npm install --save react-native-trustdevice@0.1.
|
|
33
|
+
npm install --save react-native-trustdevice@0.1.5
|
|
34
34
|
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -66,18 +66,7 @@ select -->
|
|
|
66
66
|
</manifest>
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Dynamic application permissions: Android 6.0 or above requires dynamic application permissions. Dynamic application permissions code must be placed before the initial
|
|
70
|
-
|
|
71
|
-
```dart
|
|
72
|
-
//The following permissions are not required to be applied for,
|
|
73
|
-
//and can be selectively applied for according to business conditions
|
|
74
|
-
Future<void> _requestPermission() async {
|
|
75
|
-
Map<Permission, PermissionStatus> statuses = await [
|
|
76
|
-
Permission.location,
|
|
77
|
-
Permission.phone,
|
|
78
|
-
].request();
|
|
79
|
-
}
|
|
80
|
-
```
|
|
69
|
+
Dynamic application permissions: Android 6.0 or above requires dynamic application permissions. Dynamic application permissions code must be placed before the initial
|
|
81
70
|
|
|
82
71
|
## Initialization
|
|
83
72
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GradleSettings">
|
|
4
|
+
<option name="linkedExternalProjectsSettings">
|
|
5
|
+
<GradleProjectSettings>
|
|
6
|
+
<option name="testRunner" value="GRADLE" />
|
|
7
|
+
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
8
|
+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
9
|
+
<option name="gradleJvm" value="jbr-17" />
|
|
10
|
+
</GradleProjectSettings>
|
|
11
|
+
</option>
|
|
12
|
+
</component>
|
|
13
|
+
</project>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ASMIdeaPluginConfiguration">
|
|
4
|
+
<asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" />
|
|
5
|
+
<groovy codeStyle="LEGACY" />
|
|
6
|
+
</component>
|
|
7
|
+
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
|
8
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
|
|
9
|
+
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
10
|
+
</component>
|
|
11
|
+
<component name="ProjectType">
|
|
12
|
+
<option name="id" value="Android" />
|
|
13
|
+
</component>
|
|
14
|
+
</project>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="AutoImportSettings">
|
|
4
|
+
<option name="autoReloadType" value="NONE" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ChangeListManager">
|
|
7
|
+
<list default="true" id="2e165b33-73fa-443a-9471-8d800bcc964e" name="Changes" comment="">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/../README.md" beforeDir="false" afterPath="$PROJECT_DIR$/../README.md" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/../index.js" beforeDir="false" afterPath="$PROJECT_DIR$/../index.js" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/../package.json" beforeDir="false" afterPath="$PROJECT_DIR$/../package.json" afterDir="false" />
|
|
11
|
+
</list>
|
|
12
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
13
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
14
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
15
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
16
|
+
</component>
|
|
17
|
+
<component name="Git.Settings">
|
|
18
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
|
|
19
|
+
</component>
|
|
20
|
+
<component name="ProjectId" id="2jJdwuxlHeleUdJVKTgxmiSc6PL" />
|
|
21
|
+
<component name="ProjectViewState">
|
|
22
|
+
<option name="showLibraryContents" value="true" />
|
|
23
|
+
<option name="showMembers" value="true" />
|
|
24
|
+
</component>
|
|
25
|
+
<component name="PropertiesComponent"><![CDATA[{
|
|
26
|
+
"keyToString": {
|
|
27
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
28
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
29
|
+
"RunOnceActivity.cidr.known.project.marker": "true",
|
|
30
|
+
"android.gradle.sync.needed": "true",
|
|
31
|
+
"cidr.known.project.marker": "true",
|
|
32
|
+
"dart.analysis.tool.window.visible": "false",
|
|
33
|
+
"show.migrate.to.gradle.popup": "false"
|
|
34
|
+
}
|
|
35
|
+
}]]></component>
|
|
36
|
+
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
37
|
+
<component name="TaskManager">
|
|
38
|
+
<task active="true" id="Default" summary="Default task">
|
|
39
|
+
<changelist id="2e165b33-73fa-443a-9471-8d800bcc964e" name="Changes" comment="" />
|
|
40
|
+
<created>1721109356557</created>
|
|
41
|
+
<option name="number" value="Default" />
|
|
42
|
+
<option name="presentableId" value="Default" />
|
|
43
|
+
<updated>1721109356557</updated>
|
|
44
|
+
</task>
|
|
45
|
+
<servers />
|
|
46
|
+
</component>
|
|
47
|
+
</project>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o/classes
|
package/android/build/.transforms/3d198a7540692ddfa05d95b171264bc8/transformed/classes/classes.dex
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o/classes
|
package/android/build/.transforms/a36126f0a42245443eab402f572111df/transformed/classes/classes.dex
ADDED
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Automatically generated file. DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
package com.trustdevice;
|
|
5
|
+
|
|
6
|
+
public final class BuildConfig {
|
|
7
|
+
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
8
|
+
public static final String LIBRARY_PACKAGE_NAME = "com.trustdevice";
|
|
9
|
+
public static final String BUILD_TYPE = "debug";
|
|
10
|
+
}
|
package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"artifactType": {
|
|
4
|
+
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
|
5
|
+
"kind": "Directory"
|
|
6
|
+
},
|
|
7
|
+
"applicationId": "com.trustdevice",
|
|
8
|
+
"variantName": "debug",
|
|
9
|
+
"elements": [
|
|
10
|
+
{
|
|
11
|
+
"type": "SINGLE",
|
|
12
|
+
"filters": [],
|
|
13
|
+
"attributes": [],
|
|
14
|
+
"outputFile": "AndroidManifest.xml"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"elementType": "File"
|
|
18
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
File without changes
|
|
Binary file
|