nn-widgets 0.1.17 → 0.1.19

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 (254) hide show
  1. package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/results.bin +1 -0
  2. package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/transformed/classes/classes_dex/classes.dex +0 -0
  3. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/results.bin +1 -0
  4. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/BuildConfig.dex +0 -0
  5. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$Companion.dex +0 -0
  6. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.dex +0 -0
  7. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.dex +0 -0
  8. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.dex +0 -0
  9. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
  10. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
  11. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
  12. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
  13. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.dex +0 -0
  14. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule.dex +0 -0
  15. package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  16. package/android/build/generated/source/buildConfig/debug/expo/modules/nnwidgets/BuildConfig.java +10 -0
  17. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
  18. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  19. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  20. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  21. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  22. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  23. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  24. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  25. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  26. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  27. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  28. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  29. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/nn-widgets_debug.kotlin_module +0 -0
  30. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/expo/modules/nnwidgets/BuildConfig.class +0 -0
  31. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  32. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
  33. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
  34. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  35. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  36. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/nn-widgets_debug.kotlin_module +0 -0
  37. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/BuildConfig.class +0 -0
  38. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
  39. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
  40. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
  41. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
  42. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
  43. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
  44. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
  45. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
  46. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
  47. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
  48. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  49. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  50. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  54. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  55. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  56. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  57. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  58. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  59. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  136. package/android/build/outputs/logs/manifest-merger-debug-report.txt +16 -0
  137. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  138. package/android/build/tmp/kotlin-classes/debug/META-INF/nn-widgets_debug.kotlin_module +0 -0
  139. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
  140. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
  141. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
  142. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
  143. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
  144. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
  145. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
  146. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
  147. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
  148. package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
  149. package/android/src/main/java/expo/modules/nnwidgets/NNWidgetsModule.kt +43 -13
  150. package/assets/android/drawable/nn_icon_account.xml +10 -0
  151. package/assets/android/drawable/nn_icon_add.xml +10 -0
  152. package/assets/android/drawable/nn_icon_add_circle.xml +10 -0
  153. package/assets/android/drawable/nn_icon_analytics.xml +10 -0
  154. package/assets/android/drawable/nn_icon_arrow_right.xml +10 -0
  155. package/assets/android/drawable/nn_icon_barcode.xml +10 -0
  156. package/assets/android/drawable/nn_icon_bell.xml +10 -0
  157. package/assets/android/drawable/nn_icon_block.xml +10 -0
  158. package/assets/android/drawable/nn_icon_bolt.xml +10 -0
  159. package/assets/android/drawable/nn_icon_book.xml +10 -0
  160. package/assets/android/drawable/nn_icon_bookmark.xml +10 -0
  161. package/assets/android/drawable/nn_icon_briefcase.xml +10 -0
  162. package/assets/android/drawable/nn_icon_bug.xml +10 -0
  163. package/assets/android/drawable/nn_icon_building.xml +10 -0
  164. package/assets/android/drawable/nn_icon_camera.xml +13 -0
  165. package/assets/android/drawable/nn_icon_card.xml +10 -0
  166. package/assets/android/drawable/nn_icon_cart.xml +10 -0
  167. package/assets/android/drawable/nn_icon_chart.xml +10 -0
  168. package/assets/android/drawable/nn_icon_chat.xml +10 -0
  169. package/assets/android/drawable/nn_icon_check.xml +10 -0
  170. package/assets/android/drawable/nn_icon_check_circle.xml +10 -0
  171. package/assets/android/drawable/nn_icon_chevron_right.xml +10 -0
  172. package/assets/android/drawable/nn_icon_clock.xml +10 -0
  173. package/assets/android/drawable/nn_icon_close.xml +10 -0
  174. package/assets/android/drawable/nn_icon_cloud.xml +10 -0
  175. package/assets/android/drawable/nn_icon_cloud_download.xml +10 -0
  176. package/assets/android/drawable/nn_icon_cloud_upload.xml +10 -0
  177. package/assets/android/drawable/nn_icon_code.xml +10 -0
  178. package/assets/android/drawable/nn_icon_contacts.xml +10 -0
  179. package/assets/android/drawable/nn_icon_delete.xml +10 -0
  180. package/assets/android/drawable/nn_icon_desktop.xml +10 -0
  181. package/assets/android/drawable/nn_icon_devices.xml +10 -0
  182. package/assets/android/drawable/nn_icon_document.xml +10 -0
  183. package/assets/android/drawable/nn_icon_dollar.xml +10 -0
  184. package/assets/android/drawable/nn_icon_download.xml +10 -0
  185. package/assets/android/drawable/nn_icon_edit.xml +10 -0
  186. package/assets/android/drawable/nn_icon_error.xml +10 -0
  187. package/assets/android/drawable/nn_icon_eye.xml +10 -0
  188. package/assets/android/drawable/nn_icon_eye_off.xml +10 -0
  189. package/assets/android/drawable/nn_icon_face.xml +10 -0
  190. package/assets/android/drawable/nn_icon_fast_forward.xml +10 -0
  191. package/assets/android/drawable/nn_icon_flag.xml +10 -0
  192. package/assets/android/drawable/nn_icon_folder.xml +10 -0
  193. package/assets/android/drawable/nn_icon_forum.xml +10 -0
  194. package/assets/android/drawable/nn_icon_gear.xml +10 -0
  195. package/assets/android/drawable/nn_icon_grid.xml +10 -0
  196. package/assets/android/drawable/nn_icon_hammer.xml +10 -0
  197. package/assets/android/drawable/nn_icon_headphones.xml +10 -0
  198. package/assets/android/drawable/nn_icon_heart.xml +10 -0
  199. package/assets/android/drawable/nn_icon_heart_outline.xml +10 -0
  200. package/assets/android/drawable/nn_icon_home.xml +10 -0
  201. package/assets/android/drawable/nn_icon_image.xml +10 -0
  202. package/assets/android/drawable/nn_icon_info.xml +10 -0
  203. package/assets/android/drawable/nn_icon_lightbulb.xml +10 -0
  204. package/assets/android/drawable/nn_icon_link.xml +10 -0
  205. package/assets/android/drawable/nn_icon_location.xml +10 -0
  206. package/assets/android/drawable/nn_icon_lock.xml +10 -0
  207. package/assets/android/drawable/nn_icon_mail.xml +10 -0
  208. package/assets/android/drawable/nn_icon_megaphone.xml +10 -0
  209. package/assets/android/drawable/nn_icon_menu.xml +10 -0
  210. package/assets/android/drawable/nn_icon_message.xml +10 -0
  211. package/assets/android/drawable/nn_icon_mic.xml +10 -0
  212. package/assets/android/drawable/nn_icon_money.xml +10 -0
  213. package/assets/android/drawable/nn_icon_more.xml +10 -0
  214. package/assets/android/drawable/nn_icon_music.xml +10 -0
  215. package/assets/android/drawable/nn_icon_palette.xml +10 -0
  216. package/assets/android/drawable/nn_icon_pause.xml +10 -0
  217. package/assets/android/drawable/nn_icon_people.xml +10 -0
  218. package/assets/android/drawable/nn_icon_person.xml +10 -0
  219. package/assets/android/drawable/nn_icon_phone.xml +10 -0
  220. package/assets/android/drawable/nn_icon_pin.xml +10 -0
  221. package/assets/android/drawable/nn_icon_play.xml +10 -0
  222. package/assets/android/drawable/nn_icon_qrcode.xml +10 -0
  223. package/assets/android/drawable/nn_icon_refresh.xml +10 -0
  224. package/assets/android/drawable/nn_icon_remove_circle.xml +10 -0
  225. package/assets/android/drawable/nn_icon_save.xml +10 -0
  226. package/assets/android/drawable/nn_icon_search.xml +10 -0
  227. package/assets/android/drawable/nn_icon_share.xml +10 -0
  228. package/assets/android/drawable/nn_icon_shield.xml +10 -0
  229. package/assets/android/drawable/nn_icon_star.xml +10 -0
  230. package/assets/android/drawable/nn_icon_star_outline.xml +10 -0
  231. package/assets/android/drawable/nn_icon_task.xml +10 -0
  232. package/assets/android/drawable/nn_icon_trending_down.xml +10 -0
  233. package/assets/android/drawable/nn_icon_trending_up.xml +10 -0
  234. package/assets/android/drawable/nn_icon_unlock.xml +10 -0
  235. package/assets/android/drawable/nn_icon_upload.xml +10 -0
  236. package/assets/android/drawable/nn_icon_video.xml +10 -0
  237. package/assets/android/drawable/nn_icon_volume.xml +10 -0
  238. package/assets/android/drawable/nn_icon_warning.xml +10 -0
  239. package/assets/android/drawable/nn_icon_zoom.xml +10 -0
  240. package/build/icons.d.ts +125 -0
  241. package/build/icons.d.ts.map +1 -0
  242. package/build/icons.js +136 -0
  243. package/build/icons.js.map +1 -0
  244. package/build/index.d.ts +2 -0
  245. package/build/index.d.ts.map +1 -1
  246. package/build/index.js +2 -0
  247. package/build/index.js.map +1 -1
  248. package/package.json +1 -1
  249. package/plugin/build/icons.d.ts +28 -0
  250. package/plugin/build/icons.d.ts.map +1 -0
  251. package/plugin/build/icons.js +197 -0
  252. package/plugin/build/withAndroidWidget.d.ts.map +1 -1
  253. package/plugin/build/withAndroidWidget.js +179 -18
  254. package/plugin/tsconfig.tsbuildinfo +1 -1
@@ -39,6 +39,70 @@ const fs = __importStar(require("fs"));
39
39
  const path = __importStar(require("path"));
40
40
  const withIosWidget_1 = require("./withIosWidget");
41
41
  // ──────────────────────────────────────────────
42
+ // Constants and helpers
43
+ // ──────────────────────────────────────────────
44
+ /**
45
+ * Copy bundled icons from nn-widgets package to app's drawable folder
46
+ */
47
+ function copyBundledIcons(drawablePath) {
48
+ // Get the path to bundled icons in nn-widgets package
49
+ // The icons are in assets/android/drawable/ relative to the plugin
50
+ const pluginDir = __dirname;
51
+ const packageRoot = path.resolve(pluginDir, "..", "..");
52
+ const bundledIconsPath = path.join(packageRoot, "assets", "android", "drawable");
53
+ if (!fs.existsSync(bundledIconsPath)) {
54
+ console.log(`[nn-widgets] Bundled icons path not found: ${bundledIconsPath}`);
55
+ return 0;
56
+ }
57
+ // Copy all XML icons from bundled assets
58
+ const files = fs.readdirSync(bundledIconsPath);
59
+ let copiedCount = 0;
60
+ for (const file of files) {
61
+ if (file.endsWith(".xml") && file.startsWith("nn_icon_")) {
62
+ const srcPath = path.join(bundledIconsPath, file);
63
+ const destPath = path.join(drawablePath, file);
64
+ // Only copy if doesn't exist or is different
65
+ if (!fs.existsSync(destPath)) {
66
+ fs.copyFileSync(srcPath, destPath);
67
+ copiedCount++;
68
+ }
69
+ }
70
+ }
71
+ if (copiedCount > 0) {
72
+ console.log(`[nn-widgets] Copied ${copiedCount} bundled icons to drawable`);
73
+ }
74
+ return copiedCount;
75
+ }
76
+ // Material background names that should use blur effect on Android 12+
77
+ const BLUR_BACKGROUNDS = [
78
+ "blur",
79
+ "ultraThinMaterial",
80
+ "thinMaterial",
81
+ "regularMaterial",
82
+ "thickMaterial",
83
+ "ultraThickMaterial",
84
+ ];
85
+ /**
86
+ * Check if backgroundColor should use blur effect
87
+ */
88
+ function isBlurBackground(bgColor) {
89
+ return bgColor ? BLUR_BACKGROUNDS.includes(bgColor) : false;
90
+ }
91
+ /**
92
+ * Resolve Android background attribute for XML.
93
+ * - If blur/material: use system widget background (API 31+) or transparent
94
+ * - Otherwise: use the color directly
95
+ */
96
+ function resolveAndroidBackground(bgColor) {
97
+ if (!bgColor)
98
+ return "#FFFFFF";
99
+ if (isBlurBackground(bgColor)) {
100
+ // Will be handled by drawable resource
101
+ return "@drawable/widget_blur_background";
102
+ }
103
+ return bgColor;
104
+ }
105
+ // ──────────────────────────────────────────────
42
106
  // Code generation helpers (per widget)
43
107
  // ──────────────────────────────────────────────
44
108
  function generateWidgetProviderCode(w, packageName, deepLinkUrl) {
@@ -215,10 +279,22 @@ class ${w.name}Provider : AppWidgetProvider() {
215
279
  itemView.setViewVisibility(R.id.item_description, View.GONE)
216
280
  }
217
281
 
218
- // Parse icon
282
+ // Parse icon with bundled nn_icon_ prefix support
219
283
  val iconName = parseIconName(item)
220
284
  if (iconName.isNotEmpty()) {
221
- val resId = context.resources.getIdentifier(iconName, "drawable", context.packageName)
285
+ val normalizedName = iconName
286
+ .replace("-", "_")
287
+ .replace(".", "_")
288
+ .replace(" ", "_")
289
+ .lowercase()
290
+ .replace("_fill$".toRegex(), "")
291
+
292
+ // Try bundled icon first, then original name
293
+ var resId = context.resources.getIdentifier("nn_icon_\$normalizedName", "drawable", context.packageName)
294
+ if (resId == 0) {
295
+ resId = context.resources.getIdentifier(iconName, "drawable", context.packageName)
296
+ }
297
+
222
298
  if (resId != 0) {
223
299
  itemView.setImageViewResource(R.id.item_icon, resId)
224
300
  itemView.setViewVisibility(R.id.item_icon, View.VISIBLE)
@@ -336,15 +412,27 @@ class ${w.name}Provider : AppWidgetProvider() {
336
412
  }
337
413
  }
338
414
 
339
- override fun onEnabled(context: Context) {}
340
- override fun onDisabled(context: Context) {}
415
+ override fun onEnabled(context: Context) {
416
+ android.util.Log.d("${w.name}Provider", "Widget enabled")
417
+ }
418
+
419
+ override fun onDisabled(context: Context) {
420
+ android.util.Log.d("${w.name}Provider", "Widget disabled")
421
+ }
341
422
 
342
423
  override fun onReceive(context: Context, intent: Intent) {
424
+ android.util.Log.d("${w.name}Provider", "onReceive: \${intent.action}")
343
425
  super.onReceive(context, intent)
344
- if (intent.action == "\${context.packageName}.WIDGET_UPDATE_${w.name.toUpperCase()}") {
426
+
427
+ val expectedAction = "\${context.packageName}.WIDGET_UPDATE_${w.name.toUpperCase()}"
428
+ android.util.Log.d("${w.name}Provider", "Expected action: $expectedAction")
429
+
430
+ if (intent.action == expectedAction) {
431
+ android.util.Log.d("${w.name}Provider", "Custom update action received, refreshing widget...")
345
432
  val appWidgetManager = AppWidgetManager.getInstance(context)
346
433
  val thisWidget = android.content.ComponentName(context, ${w.name}Provider::class.java)
347
434
  val appWidgetIds = appWidgetManager.getAppWidgetIds(thisWidget)
435
+ android.util.Log.d("${w.name}Provider", "Found \${appWidgetIds.size} widget instances")
348
436
  onUpdate(context, appWidgetManager, appWidgetIds)
349
437
  }
350
438
  }
@@ -354,6 +442,8 @@ class ${w.name}Provider : AppWidgetProvider() {
354
442
  appWidgetManager: AppWidgetManager,
355
443
  appWidgetId: Int
356
444
  ) {
445
+ android.util.Log.d("${w.name}Provider", "updateAppWidget called for id: $appWidgetId")
446
+
357
447
  val prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE)
358
448
  val views = RemoteViews(context.packageName, R.layout.${w.name.toLowerCase()}_layout)
359
449
 
@@ -362,6 +452,9 @@ class ${w.name}Provider : AppWidgetProvider() {
362
452
  val layoutJson = prefs.getString("widget_${w.name}_layout", null)
363
453
  val title = prefs.getString("widget_${w.name}_title", "${w.fallbackTitle}") ?: "${w.fallbackTitle}"
364
454
  val subtitle = prefs.getString("widget_${w.name}_subtitle", "${w.fallbackSubtitle}") ?: "${w.fallbackSubtitle}"
455
+
456
+ android.util.Log.d("${w.name}Provider", "itemsJson: \${itemsJson?.take(100)}...")
457
+ android.util.Log.d("${w.name}Provider", "layoutJson: $layoutJson")
365
458
 
366
459
  if (itemsJson != null && layoutJson != null) {
367
460
  try {
@@ -370,6 +463,8 @@ class ${w.name}Provider : AppWidgetProvider() {
370
463
  // Get layout for systemSmall (default) - same as iOS
371
464
  val layout = layoutObj.optJSONArray("systemSmall") ?: JSONArray("[[1]]")
372
465
 
466
+ android.util.Log.d("${w.name}Provider", "Parsed \${items.length()} items, layout rows: \${layout.length()}")
467
+
373
468
  // Hide fallback, show grid
374
469
  views.setViewVisibility(R.id.widget_fallback, View.GONE)
375
470
  views.setViewVisibility(R.id.widget_grid_container, View.VISIBLE)
@@ -470,19 +565,49 @@ class ${w.name}Provider : AppWidgetProvider() {
470
565
 
471
566
  private fun setupIcon(context: Context, views: RemoteViews, item: JSONObject, iconViewId: Int) {
472
567
  val iconName = parseIconName(item)
568
+ android.util.Log.d("${w.name}Provider", "Setting up icon: $iconName")
569
+
473
570
  if (iconName.isNotEmpty()) {
474
- // Try to load from drawable resources
475
- val resId = context.resources.getIdentifier(
571
+ // Normalize icon name: remove dashes, dots, make lowercase
572
+ val normalizedName = iconName
573
+ .replace("-", "_")
574
+ .replace(".", "_")
575
+ .replace(" ", "_")
576
+ .lowercase()
577
+ .replace("_fill$".toRegex(), "") // Remove .fill suffix from iOS SF Symbols
578
+
579
+ // Try multiple variations of the icon name, prioritizing bundled nn_icon_ prefix
580
+ val variations = listOf(
581
+ "nn_icon_\$normalizedName", // Bundled icon with prefix (e.g., nn_icon_star)
582
+ normalizedName, // Direct name (e.g., star)
583
+ iconName, // Original name
476
584
  iconName.replace("-", "_").lowercase(),
477
- "drawable",
478
- context.packageName
585
+ iconName.lowercase()
479
586
  )
587
+
588
+ var resId = 0
589
+ for (variation in variations) {
590
+ resId = context.resources.getIdentifier(variation, "drawable", context.packageName)
591
+ if (resId != 0) {
592
+ android.util.Log.d("${w.name}Provider", "Found drawable: $variation ($resId)")
593
+ break
594
+ }
595
+ }
596
+
480
597
  if (resId != 0) {
481
598
  views.setImageViewResource(iconViewId, resId)
482
599
  views.setViewVisibility(iconViewId, View.VISIBLE)
483
600
  } else {
484
- // Fallback to a default icon or hide
485
- views.setViewVisibility(iconViewId, View.GONE)
601
+ // Try to use a placeholder icon if available
602
+ val placeholderResId = context.resources.getIdentifier("nn_icon_star", "drawable", context.packageName)
603
+ if (placeholderResId != 0) {
604
+ views.setImageViewResource(iconViewId, placeholderResId)
605
+ views.setViewVisibility(iconViewId, View.VISIBLE)
606
+ android.util.Log.d("${w.name}Provider", "Using placeholder icon")
607
+ } else {
608
+ views.setViewVisibility(iconViewId, View.GONE)
609
+ android.util.Log.w("${w.name}Provider", "Icon not found: $iconName (tried: \${variations.joinToString()})")
610
+ }
486
611
  }
487
612
  } else {
488
613
  views.setViewVisibility(iconViewId, View.GONE)
@@ -646,7 +771,7 @@ function generateWidgetLayoutXml(w) {
646
771
  }
647
772
  // ── List layout ──
648
773
  if (w.type === "list") {
649
- const bgColor = w.style?.backgroundColor || "#FFFFFF";
774
+ const bgColor = resolveAndroidBackground(w.style?.backgroundColor);
650
775
  const titleColor = w.style?.titleColor || "#000000";
651
776
  const subtitleColor = w.style?.subtitleColor || "#888888";
652
777
  return `<?xml version="1.0" encoding="utf-8"?>
@@ -699,7 +824,7 @@ function generateWidgetLayoutXml(w) {
699
824
  }
700
825
  // ── Flex-grid layout ──
701
826
  if (w.type === "flex-grid") {
702
- const bgColor = w.style?.backgroundColor || "#FFFFFF";
827
+ const bgColor = resolveAndroidBackground(w.style?.backgroundColor);
703
828
  const titleColor = w.style?.titleColor || "#000000";
704
829
  const subtitleColor = w.style?.subtitleColor || "#888888";
705
830
  return `<?xml version="1.0" encoding="utf-8"?>
@@ -751,7 +876,7 @@ function generateWidgetLayoutXml(w) {
751
876
  `;
752
877
  }
753
878
  // ── Single (default) styled text layout ──
754
- const bgColor = w.style?.backgroundColor || "#FFFFFF";
879
+ const bgColor = resolveAndroidBackground(w.style?.backgroundColor);
755
880
  const titleColor = w.style?.titleColor || "#000000";
756
881
  const subtitleColor = w.style?.subtitleColor || "#888888";
757
882
  const accentColor = w.style?.accentColor || "#6200EE";
@@ -948,6 +1073,32 @@ function generateFlexGridCellCardLayoutXml(w) {
948
1073
  </LinearLayout>
949
1074
  `;
950
1075
  }
1076
+ /**
1077
+ * Generate blur background drawable for API 31+ (Android 12+)
1078
+ * Uses the system widget background with rounded corners
1079
+ */
1080
+ function generateBlurBackgroundDrawableV31() {
1081
+ return `<?xml version="1.0" encoding="utf-8"?>
1082
+ <shape xmlns:android="http://schemas.android.com/apk/res/android"
1083
+ android:shape="rectangle">
1084
+ <corners android:radius="16dp" />
1085
+ <solid android:color="@android:color/system_accent1_50" />
1086
+ </shape>
1087
+ `;
1088
+ }
1089
+ /**
1090
+ * Generate blur background drawable for pre-API 31 (fallback)
1091
+ * Uses semi-transparent white with rounded corners
1092
+ */
1093
+ function generateBlurBackgroundDrawableFallback() {
1094
+ return `<?xml version="1.0" encoding="utf-8"?>
1095
+ <shape xmlns:android="http://schemas.android.com/apk/res/android"
1096
+ android:shape="rectangle">
1097
+ <corners android:radius="16dp" />
1098
+ <solid android:color="#E6FFFFFF" />
1099
+ </shape>
1100
+ `;
1101
+ }
951
1102
  function generateWidgetInfoXml(w, updatePeriodMillis) {
952
1103
  return `<?xml version="1.0" encoding="utf-8"?>
953
1104
  <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
@@ -979,17 +1130,31 @@ const withAndroidWidget = (config, props = {}) => {
979
1130
  const resXmlPath = path.join(androidPath, "res", "xml");
980
1131
  const resValuesPath = path.join(androidPath, "res", "values");
981
1132
  const resDrawablePath = path.join(androidPath, "res", "drawable");
1133
+ const resDrawableV31Path = path.join(androidPath, "res", "drawable-v31");
982
1134
  [
983
1135
  widgetPackagePath,
984
1136
  resLayoutPath,
985
1137
  resXmlPath,
986
1138
  resValuesPath,
987
1139
  resDrawablePath,
1140
+ resDrawableV31Path,
988
1141
  ].forEach((dir) => {
989
1142
  if (!fs.existsSync(dir)) {
990
1143
  fs.mkdirSync(dir, { recursive: true });
991
1144
  }
992
1145
  });
1146
+ // Copy bundled icons from nn-widgets package to app's drawable
1147
+ copyBundledIcons(resDrawablePath);
1148
+ // Check if any widget uses blur background
1149
+ const hasBlurWidget = resolvedProps.widgets.some((w) => isBlurBackground(w.style?.backgroundColor));
1150
+ // Generate blur background drawables if needed
1151
+ if (hasBlurWidget) {
1152
+ // Fallback drawable (pre-API 31)
1153
+ fs.writeFileSync(path.join(resDrawablePath, "widget_blur_background.xml"), generateBlurBackgroundDrawableFallback());
1154
+ // API 31+ drawable
1155
+ fs.writeFileSync(path.join(resDrawableV31Path, "widget_blur_background.xml"), generateBlurBackgroundDrawableV31());
1156
+ console.log("[nn-widgets] Generated Android blur background drawables");
1157
+ }
993
1158
  // Generate files for each widget
994
1159
  for (const w of resolvedProps.widgets) {
995
1160
  // Widget provider Kotlin
@@ -1092,10 +1257,6 @@ const withAndroidWidget = (config, props = {}) => {
1092
1257
  "android:name": "android.appwidget.action.APPWIDGET_UPDATE",
1093
1258
  },
1094
1259
  },
1095
- ],
1096
- },
1097
- {
1098
- action: [
1099
1260
  {
1100
1261
  $: {
1101
1262
  "android:name": `${packageName}.WIDGET_UPDATE_${w.name.toUpperCase()}`,
@@ -1 +1 @@
1
- {"root":["./src/index.ts","./src/types.ts","./src/withandroidwidget.ts","./src/withioswidget.ts"],"version":"5.9.3"}
1
+ {"root":["./src/icons.ts","./src/index.ts","./src/types.ts","./src/withandroidwidget.ts","./src/withioswidget.ts"],"version":"5.9.3"}