@getquip/expo-nordic-dfu 2.0.3 → 3.0.1
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/android/build.gradle +3 -3
- package/android/src/main/java/com/getquip/nordic/ExpoNordicDfuModule.kt +1 -1
- package/example/App.tsx +10 -14
- package/example/app.json +4 -3
- package/example/package-lock.json +421 -699
- package/example/package.json +7 -12
- package/my-module/example/node_modules/@react-native/gradle-plugin/.project +28 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/react-native-gradle-plugin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/react-native-gradle-plugin/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/settings-plugin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/settings-plugin/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/shared/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/shared/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/shared-testutil/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/bin/shared-testutil/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/react-native-gradle-plugin/.project +28 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/react-native-gradle-plugin/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/settings-plugin/.project +28 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/settings-plugin/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/shared/.project +28 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/shared/bin/.project +34 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/shared-testutil/.project +28 -0
- package/my-module/example/node_modules/@react-native/gradle-plugin/shared-testutil/bin/.project +34 -0
- package/my-module/example/node_modules/expo/android/.project +28 -0
- package/my-module/example/node_modules/expo/android/bin/.project +34 -0
- package/my-module/example/node_modules/expo-asset/android/.project +28 -0
- package/my-module/example/node_modules/expo-asset/android/bin/.project +34 -0
- package/my-module/example/node_modules/expo-constants/android/.project +28 -0
- package/my-module/example/node_modules/expo-constants/android/bin/.project +34 -0
- package/my-module/example/node_modules/expo-file-system/android/.project +28 -0
- package/my-module/example/node_modules/expo-file-system/android/bin/.project +34 -0
- package/my-module/example/node_modules/expo-font/android/.project +28 -0
- package/my-module/example/node_modules/expo-font/android/bin/.project +34 -0
- package/my-module/example/node_modules/expo-keep-awake/android/.project +28 -0
- package/my-module/example/node_modules/expo-keep-awake/android/bin/.project +34 -0
- package/my-module/example/node_modules/expo-modules-core/android/.project +28 -0
- package/my-module/example/node_modules/expo-modules-core/android/bin/.project +34 -0
- package/package.json +11 -9
- package/.github/CODEOWNERS +0 -3
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/workflows/audit.yml +0 -20
- package/.github/workflows/conf-traffic.yml +0 -104
- package/.github/workflows/lint.yml +0 -57
- package/.github/workflows/pull_request.yml +0 -27
- package/.github/workflows/test.yml +0 -33
- package/android/build/.transforms/101a0f3c1cbb0bc0a96b13b14ea5674e/results.bin +0 -1
- package/android/build/.transforms/101a0f3c1cbb0bc0a96b13b14ea5674e/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/10fbbfccaf4a64ec5b26f25e62756ce4/results.bin +0 -1
- package/android/build/.transforms/10fbbfccaf4a64ec5b26f25e62756ce4/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/results.bin +0 -1
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
- package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/results.bin +0 -1
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$1$1.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$1$2.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$dfuProgressListener$1.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
- package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/412eeb48a8e50f46bc3ba54d3a3d875a/results.bin +0 -1
- package/android/build/.transforms/412eeb48a8e50f46bc3ba54d3a3d875a/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/results.bin +0 -1
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/758c7658fec337f3b4bcf2d457b86828/results.bin +0 -1
- package/android/build/.transforms/758c7658fec337f3b4bcf2d457b86828/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/results.bin +0 -1
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
- package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/getquip/nordic/BuildConfig.java +0 -10
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -14
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- 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 +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/getquip/nordic/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -19
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -14
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/DfuService.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/NotificationActivity.class +0 -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 +0 -1
- 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 +0 -2
- 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/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/DfuService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/NotificationActivity.class +0 -0
package/android/build.gradle
CHANGED
|
@@ -23,10 +23,10 @@ if (useManagedAndroidSdkVersions) {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
project.android {
|
|
26
|
-
compileSdkVersion safeExtGet("compileSdkVersion",
|
|
26
|
+
compileSdkVersion safeExtGet("compileSdkVersion", 36)
|
|
27
27
|
defaultConfig {
|
|
28
|
-
minSdkVersion safeExtGet("minSdkVersion",
|
|
29
|
-
targetSdkVersion safeExtGet("targetSdkVersion",
|
|
28
|
+
minSdkVersion safeExtGet("minSdkVersion", 24)
|
|
29
|
+
targetSdkVersion safeExtGet("targetSdkVersion", 36)
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
package/example/App.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ExpoNordicDfu from 'expo-nordic-dfu';
|
|
1
|
+
import ExpoNordicDfu, { DFUProgressPayload } from 'expo-nordic-dfu';
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
3
|
import { Alert, KeyboardAvoidingView, PermissionsAndroid, Platform, ScrollView, TouchableOpacity, View, ViewStyle } from 'react-native';
|
|
4
4
|
import { SafeAreaView } from 'react-native-safe-area-context'
|
|
@@ -49,11 +49,7 @@ type FirmwareFileType = {
|
|
|
49
49
|
|
|
50
50
|
type ProgressType = {
|
|
51
51
|
state?: string
|
|
52
|
-
|
|
53
|
-
currentPart?: number,
|
|
54
|
-
partsTotal?: number,
|
|
55
|
-
percent?: number,
|
|
56
|
-
speed?: number,
|
|
52
|
+
progress: DFUProgressPayload | undefined
|
|
57
53
|
}
|
|
58
54
|
|
|
59
55
|
export default function App() {
|
|
@@ -224,11 +220,11 @@ export default function App() {
|
|
|
224
220
|
try {
|
|
225
221
|
ExpoNordicDfu.module.addListener('DFUProgress', (progress) => {
|
|
226
222
|
console.info('DFUProgress:', progress)
|
|
227
|
-
setFirmwareProgress({
|
|
223
|
+
setFirmwareProgress({ progress, state: 'Updating...' })
|
|
228
224
|
})
|
|
229
225
|
ExpoNordicDfu.module.addListener('DFUStateChanged', ({ state }) => {
|
|
230
226
|
console.info('DFUStateChanged:', state)
|
|
231
|
-
setFirmwareProgress({ state,
|
|
227
|
+
setFirmwareProgress({ state, progress: firmwareProgress?.progress })
|
|
232
228
|
})
|
|
233
229
|
await ExpoNordicDfu.startDfu({
|
|
234
230
|
deviceAddress: peripheral.id,
|
|
@@ -251,7 +247,7 @@ export default function App() {
|
|
|
251
247
|
const abortDFU = async () => {
|
|
252
248
|
try {
|
|
253
249
|
await ExpoNordicDfu.abortDfu()
|
|
254
|
-
setFirmwareProgress({ state: 'DFU_ABORTED' })
|
|
250
|
+
setFirmwareProgress({ state: 'DFU_ABORTED', progress: firmwareProgress?.progress })
|
|
255
251
|
} catch (error) {
|
|
256
252
|
console.error(error)
|
|
257
253
|
} finally {
|
|
@@ -299,11 +295,11 @@ export default function App() {
|
|
|
299
295
|
{firmwareProgress && (
|
|
300
296
|
<View>
|
|
301
297
|
<Text>DFU State: {firmwareProgress.state}</Text>
|
|
302
|
-
<Text>DFU Percent Done: {firmwareProgress.percent}</Text>
|
|
303
|
-
<Text>DFU Current Part: {firmwareProgress.currentPart}</Text>
|
|
304
|
-
<Text>DFU Total Parts: {firmwareProgress.
|
|
305
|
-
<Text>DFU Current Speed: {firmwareProgress.speed}</Text>
|
|
306
|
-
<Text>DFU Average Speed: {firmwareProgress.avgSpeed}</Text>
|
|
298
|
+
<Text>DFU Percent Done: {firmwareProgress.progress?.percent}</Text>
|
|
299
|
+
<Text>DFU Current Part: {firmwareProgress.progress?.currentPart}</Text>
|
|
300
|
+
<Text>DFU Total Parts: {firmwareProgress.progress?.totalParts}</Text>
|
|
301
|
+
<Text>DFU Current Speed: {firmwareProgress.progress?.speed}</Text>
|
|
302
|
+
<Text>DFU Average Speed: {firmwareProgress.progress?.avgSpeed}</Text>
|
|
307
303
|
</View>)}
|
|
308
304
|
{peripheral && selectedColor === SELECTION_COLORS.connected && firmwareFile && !firmwareDisableButtons && (
|
|
309
305
|
<Button
|
package/example/app.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"backgroundColor": "#ffffff",
|
|
6
6
|
"foregroundImage": "./assets/adaptive-icon.png"
|
|
7
7
|
},
|
|
8
|
+
"edgeToEdgeEnabled": true,
|
|
9
|
+
"package": "expo.modules.nordicdfu.example",
|
|
8
10
|
"permissions": [
|
|
9
11
|
"android.permission.FOREGROUND_SERVICE",
|
|
10
12
|
"android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE",
|
|
@@ -12,13 +14,12 @@
|
|
|
12
14
|
"android.permission.BLUETOOTH_ADMIN",
|
|
13
15
|
"android.permission.BLUETOOTH_CONNECT"
|
|
14
16
|
],
|
|
15
|
-
"
|
|
17
|
+
"predictiveBackGestureEnabled": false
|
|
16
18
|
},
|
|
17
19
|
"icon": "./assets/icon.png",
|
|
18
20
|
"ios": {
|
|
19
21
|
"bundleIdentifier": "expo.modules.nordicdfu.example",
|
|
20
|
-
"supportsTablet": true
|
|
21
|
-
"appleTeamId": "UVG7KPQ5XS"
|
|
22
|
+
"supportsTablet": true
|
|
22
23
|
},
|
|
23
24
|
"name": "expo-nordic-dfu-example",
|
|
24
25
|
"newArchEnabled": true,
|