@incode-sdks/incode-integrate 0.1.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 +33 -0
- package/agent.js +1317 -0
- package/executor.js +301 -0
- package/package.json +36 -0
- package/scanner.js +120 -0
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @incode-sdks/incode-integrate
|
|
2
|
+
|
|
3
|
+
CLI integration auditor and fixer for adding the Incode React Native SDK to a client React Native app.
|
|
4
|
+
|
|
5
|
+
Run it from the root of the client app:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npx @incode-sdks/incode-integrate
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The default command is a dry run. It scans the app and prints the integration plan without changing files.
|
|
12
|
+
|
|
13
|
+
Apply the plan explicitly:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx @incode-sdks/incode-integrate --apply
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Scripted example:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx @incode-sdks/incode-integrate --version 9.14.0 --api-url demo --backend-sessions yes --sdk-config manual --idv standard-nfc --flow-handling step-by-step --apply
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## What It Updates
|
|
26
|
+
|
|
27
|
+
- `package.json` with `@incode-sdks/react-native-incode-sdk`
|
|
28
|
+
- iOS Podfile sources and privacy usage descriptions
|
|
29
|
+
- Android Maven repositories, permissions, multidex, and selected feature dependencies
|
|
30
|
+
- generated Incode flow files under `src/`
|
|
31
|
+
- ignored local files such as `.env.local` and `.npmrc` when credentials are provided
|
|
32
|
+
|
|
33
|
+
Secrets are not written to generated TypeScript, Gradle, Podfile, or README files.
|