@getquip/expo-nordic-dfu 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.
Files changed (341) hide show
  1. package/.eslintrc.js +2 -0
  2. package/.github/CODEOWNERS +3 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  5. package/.github/workflows/actionlint.yml +21 -0
  6. package/.nvmrc +1 -0
  7. package/CONTRIBUTING.md +17 -0
  8. package/LICENSE +21 -0
  9. package/README.md +108 -0
  10. package/android/.gradle/8.10/checksums/checksums.lock +0 -0
  11. package/android/.gradle/8.10/checksums/md5-checksums.bin +0 -0
  12. package/android/.gradle/8.10/checksums/sha1-checksums.bin +0 -0
  13. package/android/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  14. package/android/.gradle/8.10/fileChanges/last-build.bin +0 -0
  15. package/android/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  16. package/android/.gradle/8.10/gc.properties +0 -0
  17. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  18. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  19. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  20. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  21. package/android/.gradle/8.9/gc.properties +0 -0
  22. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  23. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  24. package/android/.gradle/config.properties +2 -0
  25. package/android/.gradle/vcs-1/gc.properties +0 -0
  26. package/android/.idea/AndroidProjectSystem.xml +6 -0
  27. package/android/.idea/caches/deviceStreaming.xml +607 -0
  28. package/android/.idea/gradle.xml +12 -0
  29. package/android/.idea/migrations.xml +10 -0
  30. package/android/.idea/misc.xml +10 -0
  31. package/android/.idea/runConfigurations.xml +17 -0
  32. package/android/.idea/vcs.xml +6 -0
  33. package/android/build/.transforms/101a0f3c1cbb0bc0a96b13b14ea5674e/results.bin +1 -0
  34. package/android/build/.transforms/101a0f3c1cbb0bc0a96b13b14ea5674e/transformed/classes/classes_dex/classes.dex +0 -0
  35. package/android/build/.transforms/10fbbfccaf4a64ec5b26f25e62756ce4/results.bin +1 -0
  36. package/android/build/.transforms/10fbbfccaf4a64ec5b26f25e62756ce4/transformed/classes/classes_dex/classes.dex +0 -0
  37. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/results.bin +1 -0
  38. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
  39. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
  40. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.dex +0 -0
  41. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.dex +0 -0
  42. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$1.dex +0 -0
  43. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$2.dex +0 -0
  44. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$3.dex +0 -0
  45. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
  46. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
  47. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
  48. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
  49. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
  50. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
  51. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.dex +0 -0
  52. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule.dex +0 -0
  53. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
  54. package/android/build/.transforms/24ed67b53a64c100db2f1ab2b51b1aff/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  55. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/results.bin +1 -0
  56. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
  57. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
  58. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$1$1.dex +0 -0
  59. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$1$2.dex +0 -0
  60. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$1.dex +0 -0
  61. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$2.dex +0 -0
  62. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunction$3.dex +0 -0
  63. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
  64. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
  65. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
  66. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
  67. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
  68. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$definition$lambda$8$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
  69. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule$dfuProgressListener$1.dex +0 -0
  70. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NordicDfuModule.dex +0 -0
  71. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
  72. package/android/build/.transforms/3f9e9d2e8b81b6aa1c435113a221ed39/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  73. package/android/build/.transforms/412eeb48a8e50f46bc3ba54d3a3d875a/results.bin +1 -0
  74. package/android/build/.transforms/412eeb48a8e50f46bc3ba54d3a3d875a/transformed/classes/classes_dex/classes.dex +0 -0
  75. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/results.bin +1 -0
  76. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
  77. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
  78. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.dex +0 -0
  79. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.dex +0 -0
  80. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.dex +0 -0
  81. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.dex +0 -0
  82. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.dex +0 -0
  83. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
  84. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
  85. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
  86. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
  87. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
  88. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
  89. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.dex +0 -0
  90. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.dex +0 -0
  91. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.dex +0 -0
  92. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule.dex +0 -0
  93. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
  94. package/android/build/.transforms/842d309fd12a7374119e4f9b4300d4a5/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  95. package/android/build/generated/source/buildConfig/debug/com/getquip/nordic/BuildConfig.java +10 -0
  96. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +14 -0
  97. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  98. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  99. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  100. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  101. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  102. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  103. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  104. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  105. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  106. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  107. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  108. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/getquip/nordic/BuildConfig.class +0 -0
  109. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  110. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +19 -0
  111. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +14 -0
  112. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  113. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  114. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module +0 -0
  115. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/BuildConfig.class +0 -0
  116. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/DfuService.class +0 -0
  117. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.class +0 -0
  118. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.class +0 -0
  119. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.class +0 -0
  120. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.class +0 -0
  121. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.class +0 -0
  122. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.class +0 -0
  123. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.class +0 -0
  124. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.class +0 -0
  125. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.class +0 -0
  126. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.class +0 -0
  127. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.class +0 -0
  128. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.class +0 -0
  129. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.class +0 -0
  130. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.class +0 -0
  131. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule.class +0 -0
  132. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/NotificationActivity.class +0 -0
  133. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  134. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  153. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  154. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  155. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  156. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  157. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  158. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  159. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  160. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  161. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  162. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  163. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  164. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  165. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  166. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  167. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  168. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  169. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  170. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  171. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  172. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  173. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  174. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  175. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  176. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  177. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  178. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  179. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  180. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  181. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  182. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  183. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  184. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  185. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  186. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  187. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  188. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  189. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  190. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  191. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  192. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  193. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  194. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  195. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  196. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  197. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  198. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  199. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  200. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  201. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  202. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  203. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  204. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  205. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  206. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  207. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  208. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  209. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  210. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  211. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  212. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  213. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  214. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  215. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  216. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  217. package/android/build/tmp/kotlin-classes/debug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module +0 -0
  218. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/DfuService.class +0 -0
  219. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.class +0 -0
  220. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.class +0 -0
  221. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.class +0 -0
  222. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.class +0 -0
  223. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.class +0 -0
  224. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.class +0 -0
  225. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.class +0 -0
  226. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.class +0 -0
  227. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.class +0 -0
  228. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.class +0 -0
  229. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.class +0 -0
  230. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.class +0 -0
  231. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.class +0 -0
  232. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.class +0 -0
  233. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule.class +0 -0
  234. package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/NotificationActivity.class +0 -0
  235. package/android/build.gradle +55 -0
  236. package/android/src/main/AndroidManifest.xml +11 -0
  237. package/android/src/main/java/com/getquip/nordic/DfuService.kt +41 -0
  238. package/android/src/main/java/com/getquip/nordic/ExpoNordicDfuModule.kt +200 -0
  239. package/android/src/main/java/com/getquip/nordic/NotificationActivity.kt +25 -0
  240. package/build/ExpoNordicDfu.types.d.ts +32 -0
  241. package/build/ExpoNordicDfu.types.d.ts.map +1 -0
  242. package/build/ExpoNordicDfu.types.js +2 -0
  243. package/build/ExpoNordicDfu.types.js.map +1 -0
  244. package/build/ExpoNordicDfuModule.d.ts +18 -0
  245. package/build/ExpoNordicDfuModule.d.ts.map +1 -0
  246. package/build/ExpoNordicDfuModule.js +31 -0
  247. package/build/ExpoNordicDfuModule.js.map +1 -0
  248. package/build/index.d.ts +3 -0
  249. package/build/index.d.ts.map +1 -0
  250. package/build/index.js +6 -0
  251. package/build/index.js.map +1 -0
  252. package/example/.env.example +2 -0
  253. package/example/.nvmrc +1 -0
  254. package/example/App.tsx +372 -0
  255. package/example/android/app/build.gradle +176 -0
  256. package/example/android/app/debug.keystore +0 -0
  257. package/example/android/app/proguard-rules.pro +14 -0
  258. package/example/android/app/src/debug/AndroidManifest.xml +7 -0
  259. package/example/android/app/src/main/AndroidManifest.xml +40 -0
  260. package/example/android/app/src/main/java/expo/modules/nordicdfu/example/MainActivity.kt +61 -0
  261. package/example/android/app/src/main/java/expo/modules/nordicdfu/example/MainApplication.kt +57 -0
  262. package/example/android/app/src/main/res/drawable/ic_launcher_background.xml +6 -0
  263. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  264. package/example/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png +0 -0
  265. package/example/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png +0 -0
  266. package/example/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png +0 -0
  267. package/example/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png +0 -0
  268. package/example/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png +0 -0
  269. package/example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
  270. package/example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
  271. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
  272. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp +0 -0
  273. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
  274. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
  275. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp +0 -0
  276. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
  277. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
  278. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp +0 -0
  279. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
  280. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
  281. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp +0 -0
  282. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
  283. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
  284. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp +0 -0
  285. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
  286. package/example/android/app/src/main/res/values/colors.xml +6 -0
  287. package/example/android/app/src/main/res/values/strings.xml +5 -0
  288. package/example/android/app/src/main/res/values/styles.xml +17 -0
  289. package/example/android/app/src/main/res/values-night/colors.xml +1 -0
  290. package/example/android/build.gradle +41 -0
  291. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  292. package/example/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  293. package/example/android/gradle.properties +56 -0
  294. package/example/android/gradlew +252 -0
  295. package/example/android/gradlew.bat +94 -0
  296. package/example/android/settings.gradle +38 -0
  297. package/example/app.json +54 -0
  298. package/example/assets/adaptive-icon.png +0 -0
  299. package/example/assets/favicon.png +0 -0
  300. package/example/assets/icon.png +0 -0
  301. package/example/assets/splash-icon.png +0 -0
  302. package/example/babel.config.js +6 -0
  303. package/example/index.ts +8 -0
  304. package/example/ios/.xcode.env +11 -0
  305. package/example/ios/Podfile +66 -0
  306. package/example/ios/Podfile.lock +1944 -0
  307. package/example/ios/Podfile.properties.json +5 -0
  308. package/example/ios/exponordicdfuexample/AppDelegate.h +7 -0
  309. package/example/ios/exponordicdfuexample/AppDelegate.mm +62 -0
  310. package/example/ios/exponordicdfuexample/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png +0 -0
  311. package/example/ios/exponordicdfuexample/Images.xcassets/AppIcon.appiconset/Contents.json +14 -0
  312. package/example/ios/exponordicdfuexample/Images.xcassets/Contents.json +6 -0
  313. package/example/ios/exponordicdfuexample/Images.xcassets/SplashScreenBackground.colorset/Contents.json +20 -0
  314. package/example/ios/exponordicdfuexample/Images.xcassets/SplashScreenLogo.imageset/Contents.json +23 -0
  315. package/example/ios/exponordicdfuexample/Images.xcassets/SplashScreenLogo.imageset/image.png +0 -0
  316. package/example/ios/exponordicdfuexample/Images.xcassets/SplashScreenLogo.imageset/image@2x.png +0 -0
  317. package/example/ios/exponordicdfuexample/Images.xcassets/SplashScreenLogo.imageset/image@3x.png +0 -0
  318. package/example/ios/exponordicdfuexample/Info.plist +76 -0
  319. package/example/ios/exponordicdfuexample/PrivacyInfo.xcprivacy +48 -0
  320. package/example/ios/exponordicdfuexample/SplashScreen.storyboard +44 -0
  321. package/example/ios/exponordicdfuexample/Supporting/Expo.plist +12 -0
  322. package/example/ios/exponordicdfuexample/exponordicdfuexample-Bridging-Header.h +3 -0
  323. package/example/ios/exponordicdfuexample/exponordicdfuexample.entitlements +5 -0
  324. package/example/ios/exponordicdfuexample/main.m +10 -0
  325. package/example/ios/exponordicdfuexample/noop-file.swift +4 -0
  326. package/example/ios/exponordicdfuexample.xcodeproj/project.pbxproj +544 -0
  327. package/example/ios/exponordicdfuexample.xcodeproj/xcshareddata/xcschemes/exponordicdfuexample.xcscheme +88 -0
  328. package/example/ios/exponordicdfuexample.xcworkspace/contents.xcworkspacedata +10 -0
  329. package/example/metro.config.js +34 -0
  330. package/example/package-lock.json +11069 -0
  331. package/example/package.json +31 -0
  332. package/example/tsconfig.json +10 -0
  333. package/example/webpack.config.js +20 -0
  334. package/expo-module.config.json +16 -0
  335. package/ios/ExpoNordicDfu.podspec +27 -0
  336. package/ios/ExpoNordicDfuModule.swift +168 -0
  337. package/package.json +64 -0
  338. package/src/ExpoNordicDfu.types.ts +38 -0
  339. package/src/ExpoNordicDfuModule.ts +73 -0
  340. package/src/index.ts +5 -0
  341. package/tsconfig.json +9 -0
@@ -0,0 +1,57 @@
1
+ package expo.modules.nordicdfu.example
2
+
3
+ import android.app.Application
4
+ import android.content.res.Configuration
5
+
6
+ import com.facebook.react.PackageList
7
+ import com.facebook.react.ReactApplication
8
+ import com.facebook.react.ReactNativeHost
9
+ import com.facebook.react.ReactPackage
10
+ import com.facebook.react.ReactHost
11
+ import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
12
+ import com.facebook.react.defaults.DefaultReactNativeHost
13
+ import com.facebook.react.soloader.OpenSourceMergedSoMapping
14
+ import com.facebook.soloader.SoLoader
15
+
16
+ import expo.modules.ApplicationLifecycleDispatcher
17
+ import expo.modules.ReactNativeHostWrapper
18
+
19
+ class MainApplication : Application(), ReactApplication {
20
+
21
+ override val reactNativeHost: ReactNativeHost = ReactNativeHostWrapper(
22
+ this,
23
+ object : DefaultReactNativeHost(this) {
24
+ override fun getPackages(): List<ReactPackage> {
25
+ val packages = PackageList(this).packages
26
+ // Packages that cannot be autolinked yet can be added manually here, for example:
27
+ // packages.add(new MyReactNativePackage());
28
+ return packages
29
+ }
30
+
31
+ override fun getJSMainModuleName(): String = ".expo/.virtual-metro-entry"
32
+
33
+ override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
34
+
35
+ override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
36
+ override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
37
+ }
38
+ )
39
+
40
+ override val reactHost: ReactHost
41
+ get() = ReactNativeHostWrapper.createReactHost(applicationContext, reactNativeHost)
42
+
43
+ override fun onCreate() {
44
+ super.onCreate()
45
+ SoLoader.init(this, OpenSourceMergedSoMapping)
46
+ if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
47
+ // If you opted-in for the New Architecture, we load the native entry point for this app.
48
+ load()
49
+ }
50
+ ApplicationLifecycleDispatcher.onApplicationCreate(this)
51
+ }
52
+
53
+ override fun onConfigurationChanged(newConfig: Configuration) {
54
+ super.onConfigurationChanged(newConfig)
55
+ ApplicationLifecycleDispatcher.onConfigurationChanged(this, newConfig)
56
+ }
57
+ }
@@ -0,0 +1,6 @@
1
+ <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <item android:drawable="@color/splashscreen_background"/>
3
+ <item>
4
+ <bitmap android:gravity="center" android:src="@drawable/splashscreen_logo"/>
5
+ </item>
6
+ </layer-list>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Copyright (C) 2014 The Android Open Source Project
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ -->
16
+ <inset xmlns:android="http://schemas.android.com/apk/res/android"
17
+ android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
18
+ android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
19
+ android:insetTop="@dimen/abc_edit_text_inset_top_material"
20
+ android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
21
+ >
22
+
23
+ <selector>
24
+ <!--
25
+ This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
26
+ The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
27
+ NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
28
+
29
+ <item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
30
+
31
+ For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
32
+ -->
33
+ <item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
34
+ <item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
35
+ </selector>
36
+
37
+ </inset>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@color/iconBackground"/>
4
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5
+ </adaptive-icon>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@color/iconBackground"/>
4
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5
+ </adaptive-icon>
@@ -0,0 +1,6 @@
1
+ <resources>
2
+ <color name="splashscreen_background">#ffffff</color>
3
+ <color name="iconBackground">#ffffff</color>
4
+ <color name="colorPrimary">#023c69</color>
5
+ <color name="colorPrimaryDark">#ffffff</color>
6
+ </resources>
@@ -0,0 +1,5 @@
1
+ <resources>
2
+ <string name="app_name">expo-nordic-dfu-example</string>
3
+ <string name="expo_splash_screen_resize_mode" translatable="false">contain</string>
4
+ <string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
5
+ </resources>
@@ -0,0 +1,17 @@
1
+ <resources xmlns:tools="http://schemas.android.com/tools">
2
+ <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
3
+ <item name="android:textColor">@android:color/black</item>
4
+ <item name="android:editTextStyle">@style/ResetEditText</item>
5
+ <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
6
+ <item name="colorPrimary">@color/colorPrimary</item>
7
+ <item name="android:statusBarColor">#ffffff</item>
8
+ </style>
9
+ <style name="ResetEditText" parent="@android:style/Widget.EditText">
10
+ <item name="android:padding">0dp</item>
11
+ <item name="android:textColorHint">#c8c8c8</item>
12
+ <item name="android:textColor">@android:color/black</item>
13
+ </style>
14
+ <style name="Theme.App.SplashScreen" parent="AppTheme">
15
+ <item name="android:windowBackground">@drawable/ic_launcher_background</item>
16
+ </style>
17
+ </resources>
@@ -0,0 +1,41 @@
1
+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
2
+
3
+ buildscript {
4
+ ext {
5
+ buildToolsVersion = findProperty('android.buildToolsVersion') ?: '35.0.0'
6
+ minSdkVersion = Integer.parseInt(findProperty('android.minSdkVersion') ?: '24')
7
+ compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: '35')
8
+ targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '34')
9
+ kotlinVersion = findProperty('android.kotlinVersion') ?: '1.9.25'
10
+
11
+ ndkVersion = "26.1.10909125"
12
+ }
13
+ repositories {
14
+ google()
15
+ mavenCentral()
16
+ }
17
+ dependencies {
18
+ classpath('com.android.tools.build:gradle')
19
+ classpath('com.facebook.react:react-native-gradle-plugin')
20
+ classpath('org.jetbrains.kotlin:kotlin-gradle-plugin')
21
+ }
22
+ }
23
+
24
+ apply plugin: "com.facebook.react.rootproject"
25
+
26
+ allprojects {
27
+ repositories {
28
+ maven {
29
+ // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
30
+ url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
31
+ }
32
+ maven {
33
+ // Android JSC is installed from npm
34
+ url(new File(['node', '--print', "require.resolve('jsc-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), '../dist'))
35
+ }
36
+
37
+ google()
38
+ mavenCentral()
39
+ maven { url 'https://www.jitpack.io' }
40
+ }
41
+ }
@@ -0,0 +1,7 @@
1
+ distributionBase=GRADLE_USER_HOME
2
+ distributionPath=wrapper/dists
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
4
+ networkTimeout=10000
5
+ validateDistributionUrl=true
6
+ zipStoreBase=GRADLE_USER_HOME
7
+ zipStorePath=wrapper/dists
@@ -0,0 +1,56 @@
1
+ # Project-wide Gradle settings.
2
+
3
+ # IDE (e.g. Android Studio) users:
4
+ # Gradle settings configured through the IDE *will override*
5
+ # any settings specified in this file.
6
+
7
+ # For more details on how to configure your build environment visit
8
+ # http://www.gradle.org/docs/current/userguide/build_environment.html
9
+
10
+ # Specifies the JVM arguments used for the daemon process.
11
+ # The setting is particularly useful for tweaking memory settings.
12
+ # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13
+ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
14
+
15
+ # When configured, Gradle will run in incubating parallel mode.
16
+ # This option should only be used with decoupled projects. More details, visit
17
+ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18
+ # org.gradle.parallel=true
19
+
20
+ # AndroidX package structure to make it clearer which packages are bundled with the
21
+ # Android operating system, and which are packaged with your app's APK
22
+ # https://developer.android.com/topic/libraries/support-library/androidx-rn
23
+ android.useAndroidX=true
24
+
25
+ # Enable AAPT2 PNG crunching
26
+ android.enablePngCrunchInReleaseBuilds=true
27
+
28
+ # Use this property to specify which architecture you want to build.
29
+ # You can also override it from the CLI using
30
+ # ./gradlew <task> -PreactNativeArchitectures=x86_64
31
+ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
32
+
33
+ # Use this property to enable support to the new architecture.
34
+ # This will allow you to use TurboModules and the Fabric render in
35
+ # your application. You should enable this flag either if you want
36
+ # to write custom TurboModules/Fabric components OR use libraries that
37
+ # are providing them.
38
+ newArchEnabled=true
39
+
40
+ # Use this property to enable or disable the Hermes JS engine.
41
+ # If set to false, you will be using JSC instead.
42
+ hermesEnabled=true
43
+
44
+ # Enable GIF support in React Native images (~200 B increase)
45
+ expo.gif.enabled=true
46
+ # Enable webp support in React Native images (~85 KB increase)
47
+ expo.webp.enabled=true
48
+ # Enable animated webp support (~3.4 MB increase)
49
+ # Disabled by default because iOS doesn't support animated webp
50
+ expo.webp.animated=false
51
+
52
+ # Enable network inspector
53
+ EX_DEV_CLIENT_NETWORK_INSPECTOR=true
54
+
55
+ # Use legacy packaging to compress native libraries in the resulting APK.
56
+ expo.useLegacyPackaging=false
@@ -0,0 +1,252 @@
1
+ #!/bin/sh
2
+
3
+ #
4
+ # Copyright © 2015-2021 the original authors.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ # SPDX-License-Identifier: Apache-2.0
19
+ #
20
+
21
+ ##############################################################################
22
+ #
23
+ # Gradle start up script for POSIX generated by Gradle.
24
+ #
25
+ # Important for running:
26
+ #
27
+ # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
28
+ # noncompliant, but you have some other compliant shell such as ksh or
29
+ # bash, then to run this script, type that shell name before the whole
30
+ # command line, like:
31
+ #
32
+ # ksh Gradle
33
+ #
34
+ # Busybox and similar reduced shells will NOT work, because this script
35
+ # requires all of these POSIX shell features:
36
+ # * functions;
37
+ # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
38
+ # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
39
+ # * compound commands having a testable exit status, especially «case»;
40
+ # * various built-in commands including «command», «set», and «ulimit».
41
+ #
42
+ # Important for patching:
43
+ #
44
+ # (2) This script targets any POSIX shell, so it avoids extensions provided
45
+ # by Bash, Ksh, etc; in particular arrays are avoided.
46
+ #
47
+ # The "traditional" practice of packing multiple parameters into a
48
+ # space-separated string is a well documented source of bugs and security
49
+ # problems, so this is (mostly) avoided, by progressively accumulating
50
+ # options in "$@", and eventually passing that to Java.
51
+ #
52
+ # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
53
+ # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
54
+ # see the in-line comments for details.
55
+ #
56
+ # There are tweaks for specific operating systems such as AIX, CygWin,
57
+ # Darwin, MinGW, and NonStop.
58
+ #
59
+ # (3) This script is generated from the Groovy template
60
+ # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
61
+ # within the Gradle project.
62
+ #
63
+ # You can find Gradle at https://github.com/gradle/gradle/.
64
+ #
65
+ ##############################################################################
66
+
67
+ # Attempt to set APP_HOME
68
+
69
+ # Resolve links: $0 may be a link
70
+ app_path=$0
71
+
72
+ # Need this for daisy-chained symlinks.
73
+ while
74
+ APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
75
+ [ -h "$app_path" ]
76
+ do
77
+ ls=$( ls -ld "$app_path" )
78
+ link=${ls#*' -> '}
79
+ case $link in #(
80
+ /*) app_path=$link ;; #(
81
+ *) app_path=$APP_HOME$link ;;
82
+ esac
83
+ done
84
+
85
+ # This is normally unused
86
+ # shellcheck disable=SC2034
87
+ APP_BASE_NAME=${0##*/}
88
+ # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
+ APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90
+ ' "$PWD" ) || exit
91
+
92
+ # Use the maximum available, or set MAX_FD != -1 to use that value.
93
+ MAX_FD=maximum
94
+
95
+ warn () {
96
+ echo "$*"
97
+ } >&2
98
+
99
+ die () {
100
+ echo
101
+ echo "$*"
102
+ echo
103
+ exit 1
104
+ } >&2
105
+
106
+ # OS specific support (must be 'true' or 'false').
107
+ cygwin=false
108
+ msys=false
109
+ darwin=false
110
+ nonstop=false
111
+ case "$( uname )" in #(
112
+ CYGWIN* ) cygwin=true ;; #(
113
+ Darwin* ) darwin=true ;; #(
114
+ MSYS* | MINGW* ) msys=true ;; #(
115
+ NONSTOP* ) nonstop=true ;;
116
+ esac
117
+
118
+ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
119
+
120
+
121
+ # Determine the Java command to use to start the JVM.
122
+ if [ -n "$JAVA_HOME" ] ; then
123
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
124
+ # IBM's JDK on AIX uses strange locations for the executables
125
+ JAVACMD=$JAVA_HOME/jre/sh/java
126
+ else
127
+ JAVACMD=$JAVA_HOME/bin/java
128
+ fi
129
+ if [ ! -x "$JAVACMD" ] ; then
130
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
131
+
132
+ Please set the JAVA_HOME variable in your environment to match the
133
+ location of your Java installation."
134
+ fi
135
+ else
136
+ JAVACMD=java
137
+ if ! command -v java >/dev/null 2>&1
138
+ then
139
+ die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
140
+
141
+ Please set the JAVA_HOME variable in your environment to match the
142
+ location of your Java installation."
143
+ fi
144
+ fi
145
+
146
+ # Increase the maximum file descriptors if we can.
147
+ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
148
+ case $MAX_FD in #(
149
+ max*)
150
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
151
+ # shellcheck disable=SC2039,SC3045
152
+ MAX_FD=$( ulimit -H -n ) ||
153
+ warn "Could not query maximum file descriptor limit"
154
+ esac
155
+ case $MAX_FD in #(
156
+ '' | soft) :;; #(
157
+ *)
158
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
159
+ # shellcheck disable=SC2039,SC3045
160
+ ulimit -n "$MAX_FD" ||
161
+ warn "Could not set maximum file descriptor limit to $MAX_FD"
162
+ esac
163
+ fi
164
+
165
+ # Collect all arguments for the java command, stacking in reverse order:
166
+ # * args from the command line
167
+ # * the main class name
168
+ # * -classpath
169
+ # * -D...appname settings
170
+ # * --module-path (only if needed)
171
+ # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
172
+
173
+ # For Cygwin or MSYS, switch paths to Windows format before running java
174
+ if "$cygwin" || "$msys" ; then
175
+ APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
176
+ CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
177
+
178
+ JAVACMD=$( cygpath --unix "$JAVACMD" )
179
+
180
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
181
+ for arg do
182
+ if
183
+ case $arg in #(
184
+ -*) false ;; # don't mess with options #(
185
+ /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
186
+ [ -e "$t" ] ;; #(
187
+ *) false ;;
188
+ esac
189
+ then
190
+ arg=$( cygpath --path --ignore --mixed "$arg" )
191
+ fi
192
+ # Roll the args list around exactly as many times as the number of
193
+ # args, so each arg winds up back in the position where it started, but
194
+ # possibly modified.
195
+ #
196
+ # NB: a `for` loop captures its iteration list before it begins, so
197
+ # changing the positional parameters here affects neither the number of
198
+ # iterations, nor the values presented in `arg`.
199
+ shift # remove old arg
200
+ set -- "$@" "$arg" # push replacement arg
201
+ done
202
+ fi
203
+
204
+
205
+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
206
+ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207
+
208
+ # Collect all arguments for the java command:
209
+ # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210
+ # and any embedded shellness will be escaped.
211
+ # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212
+ # treated as '${Hostname}' itself on the command line.
213
+
214
+ set -- \
215
+ "-Dorg.gradle.appname=$APP_BASE_NAME" \
216
+ -classpath "$CLASSPATH" \
217
+ org.gradle.wrapper.GradleWrapperMain \
218
+ "$@"
219
+
220
+ # Stop when "xargs" is not available.
221
+ if ! command -v xargs >/dev/null 2>&1
222
+ then
223
+ die "xargs is not available"
224
+ fi
225
+
226
+ # Use "xargs" to parse quoted args.
227
+ #
228
+ # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
229
+ #
230
+ # In Bash we could simply go:
231
+ #
232
+ # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
233
+ # set -- "${ARGS[@]}" "$@"
234
+ #
235
+ # but POSIX shell has neither arrays nor command substitution, so instead we
236
+ # post-process each arg (as a line of input to sed) to backslash-escape any
237
+ # character that might be a shell metacharacter, then use eval to reverse
238
+ # that process (while maintaining the separation between arguments), and wrap
239
+ # the whole thing up as a single "set" statement.
240
+ #
241
+ # This will of course break if any of these variables contains a newline or
242
+ # an unmatched quote.
243
+ #
244
+
245
+ eval "set -- $(
246
+ printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
247
+ xargs -n1 |
248
+ sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
249
+ tr '\n' ' '
250
+ )" '"$@"'
251
+
252
+ exec "$JAVACMD" "$@"
@@ -0,0 +1,94 @@
1
+ @rem
2
+ @rem Copyright 2015 the original author or authors.
3
+ @rem
4
+ @rem Licensed under the Apache License, Version 2.0 (the "License");
5
+ @rem you may not use this file except in compliance with the License.
6
+ @rem You may obtain a copy of the License at
7
+ @rem
8
+ @rem https://www.apache.org/licenses/LICENSE-2.0
9
+ @rem
10
+ @rem Unless required by applicable law or agreed to in writing, software
11
+ @rem distributed under the License is distributed on an "AS IS" BASIS,
12
+ @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ @rem See the License for the specific language governing permissions and
14
+ @rem limitations under the License.
15
+ @rem
16
+ @rem SPDX-License-Identifier: Apache-2.0
17
+ @rem
18
+
19
+ @if "%DEBUG%"=="" @echo off
20
+ @rem ##########################################################################
21
+ @rem
22
+ @rem Gradle startup script for Windows
23
+ @rem
24
+ @rem ##########################################################################
25
+
26
+ @rem Set local scope for the variables with windows NT shell
27
+ if "%OS%"=="Windows_NT" setlocal
28
+
29
+ set DIRNAME=%~dp0
30
+ if "%DIRNAME%"=="" set DIRNAME=.
31
+ @rem This is normally unused
32
+ set APP_BASE_NAME=%~n0
33
+ set APP_HOME=%DIRNAME%
34
+
35
+ @rem Resolve any "." and ".." in APP_HOME to make it shorter.
36
+ for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
37
+
38
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
39
+ set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
40
+
41
+ @rem Find java.exe
42
+ if defined JAVA_HOME goto findJavaFromJavaHome
43
+
44
+ set JAVA_EXE=java.exe
45
+ %JAVA_EXE% -version >NUL 2>&1
46
+ if %ERRORLEVEL% equ 0 goto execute
47
+
48
+ echo. 1>&2
49
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50
+ echo. 1>&2
51
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52
+ echo location of your Java installation. 1>&2
53
+
54
+ goto fail
55
+
56
+ :findJavaFromJavaHome
57
+ set JAVA_HOME=%JAVA_HOME:"=%
58
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
59
+
60
+ if exist "%JAVA_EXE%" goto execute
61
+
62
+ echo. 1>&2
63
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64
+ echo. 1>&2
65
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66
+ echo location of your Java installation. 1>&2
67
+
68
+ goto fail
69
+
70
+ :execute
71
+ @rem Setup the command line
72
+
73
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
74
+
75
+
76
+ @rem Execute Gradle
77
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
78
+
79
+ :end
80
+ @rem End local scope for the variables with windows NT shell
81
+ if %ERRORLEVEL% equ 0 goto mainEnd
82
+
83
+ :fail
84
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
85
+ rem the _cmd.exe /c_ return code!
86
+ set EXIT_CODE=%ERRORLEVEL%
87
+ if %EXIT_CODE% equ 0 set EXIT_CODE=1
88
+ if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
89
+ exit /b %EXIT_CODE%
90
+
91
+ :mainEnd
92
+ if "%OS%"=="Windows_NT" endlocal
93
+
94
+ :omega