nn-widgets 0.1.18 → 0.1.20

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 +124 -30
  254. package/plugin/tsconfig.tsbuildinfo +1 -1
@@ -41,6 +41,38 @@ const withIosWidget_1 = require("./withIosWidget");
41
41
  // ──────────────────────────────────────────────
42
42
  // Constants and helpers
43
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
+ }
44
76
  // Material background names that should use blur effect on Android 12+
45
77
  const BLUR_BACKGROUNDS = [
46
78
  "blur",
@@ -247,10 +279,22 @@ class ${w.name}Provider : AppWidgetProvider() {
247
279
  itemView.setViewVisibility(R.id.item_description, View.GONE)
248
280
  }
249
281
 
250
- // Parse icon
282
+ // Parse icon with bundled nn_icon_ prefix support
251
283
  val iconName = parseIconName(item)
252
284
  if (iconName.isNotEmpty()) {
253
- 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
+
254
298
  if (resId != 0) {
255
299
  itemView.setImageViewResource(R.id.item_icon, resId)
256
300
  itemView.setViewVisibility(R.id.item_icon, View.VISIBLE)
@@ -368,15 +412,27 @@ class ${w.name}Provider : AppWidgetProvider() {
368
412
  }
369
413
  }
370
414
 
371
- override fun onEnabled(context: Context) {}
372
- 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
+ }
373
422
 
374
423
  override fun onReceive(context: Context, intent: Intent) {
424
+ android.util.Log.d("${w.name}Provider", "onReceive: \${intent.action}")
375
425
  super.onReceive(context, intent)
376
- 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...")
377
432
  val appWidgetManager = AppWidgetManager.getInstance(context)
378
433
  val thisWidget = android.content.ComponentName(context, ${w.name}Provider::class.java)
379
434
  val appWidgetIds = appWidgetManager.getAppWidgetIds(thisWidget)
435
+ android.util.Log.d("${w.name}Provider", "Found \${appWidgetIds.size} widget instances")
380
436
  onUpdate(context, appWidgetManager, appWidgetIds)
381
437
  }
382
438
  }
@@ -386,6 +442,8 @@ class ${w.name}Provider : AppWidgetProvider() {
386
442
  appWidgetManager: AppWidgetManager,
387
443
  appWidgetId: Int
388
444
  ) {
445
+ android.util.Log.d("${w.name}Provider", "updateAppWidget called for id: $appWidgetId")
446
+
389
447
  val prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE)
390
448
  val views = RemoteViews(context.packageName, R.layout.${w.name.toLowerCase()}_layout)
391
449
 
@@ -394,6 +452,9 @@ class ${w.name}Provider : AppWidgetProvider() {
394
452
  val layoutJson = prefs.getString("widget_${w.name}_layout", null)
395
453
  val title = prefs.getString("widget_${w.name}_title", "${w.fallbackTitle}") ?: "${w.fallbackTitle}"
396
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")
397
458
 
398
459
  if (itemsJson != null && layoutJson != null) {
399
460
  try {
@@ -402,6 +463,8 @@ class ${w.name}Provider : AppWidgetProvider() {
402
463
  // Get layout for systemSmall (default) - same as iOS
403
464
  val layout = layoutObj.optJSONArray("systemSmall") ?: JSONArray("[[1]]")
404
465
 
466
+ android.util.Log.d("${w.name}Provider", "Parsed \${items.length()} items, layout rows: \${layout.length()}")
467
+
405
468
  // Hide fallback, show grid
406
469
  views.setViewVisibility(R.id.widget_fallback, View.GONE)
407
470
  views.setViewVisibility(R.id.widget_grid_container, View.VISIBLE)
@@ -502,19 +565,49 @@ class ${w.name}Provider : AppWidgetProvider() {
502
565
 
503
566
  private fun setupIcon(context: Context, views: RemoteViews, item: JSONObject, iconViewId: Int) {
504
567
  val iconName = parseIconName(item)
568
+ android.util.Log.d("${w.name}Provider", "Setting up icon: $iconName")
569
+
505
570
  if (iconName.isNotEmpty()) {
506
- // Try to load from drawable resources
507
- 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
508
584
  iconName.replace("-", "_").lowercase(),
509
- "drawable",
510
- context.packageName
585
+ iconName.lowercase()
511
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
+
512
597
  if (resId != 0) {
513
598
  views.setImageViewResource(iconViewId, resId)
514
599
  views.setViewVisibility(iconViewId, View.VISIBLE)
515
600
  } else {
516
- // Fallback to a default icon or hide
517
- 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
+ }
518
611
  }
519
612
  } else {
520
613
  views.setViewVisibility(iconViewId, View.GONE)
@@ -904,14 +997,14 @@ function generateFlexGridCellListLayoutXml(w) {
904
997
  android:layout_weight="1"
905
998
  android:orientation="horizontal"
906
999
  android:gravity="center_vertical"
907
- android:paddingHorizontal="6dp"
908
- android:paddingVertical="4dp">
1000
+ android:paddingHorizontal="4dp"
1001
+ android:paddingVertical="2dp">
909
1002
 
910
1003
  <ImageView
911
1004
  android:id="@+id/cell_icon"
912
- android:layout_width="36dp"
913
- android:layout_height="36dp"
914
- android:layout_marginEnd="8dp"
1005
+ android:layout_width="32dp"
1006
+ android:layout_height="32dp"
1007
+ android:layout_marginEnd="6dp"
915
1008
  android:scaleType="centerCrop"
916
1009
  android:visibility="gone" />
917
1010
 
@@ -925,20 +1018,22 @@ function generateFlexGridCellListLayoutXml(w) {
925
1018
  android:id="@+id/cell_title"
926
1019
  android:layout_width="match_parent"
927
1020
  android:layout_height="wrap_content"
928
- android:textSize="13sp"
1021
+ android:textSize="12sp"
929
1022
  android:textStyle="bold"
930
1023
  android:textColor="${titleColor}"
931
1024
  android:maxLines="1"
932
- android:ellipsize="end" />
1025
+ android:ellipsize="end"
1026
+ android:singleLine="true" />
933
1027
 
934
1028
  <TextView
935
1029
  android:id="@+id/cell_description"
936
1030
  android:layout_width="match_parent"
937
1031
  android:layout_height="wrap_content"
938
- android:textSize="11sp"
1032
+ android:textSize="10sp"
939
1033
  android:textColor="${subtitleColor}"
940
1034
  android:maxLines="1"
941
1035
  android:ellipsize="end"
1036
+ android:singleLine="true"
942
1037
  android:visibility="gone" />
943
1038
  </LinearLayout>
944
1039
 
@@ -957,12 +1052,12 @@ function generateFlexGridCellCardLayoutXml(w) {
957
1052
  android:layout_weight="1"
958
1053
  android:orientation="vertical"
959
1054
  android:gravity="center"
960
- android:padding="4dp">
1055
+ android:padding="2dp">
961
1056
 
962
1057
  <ImageView
963
1058
  android:id="@+id/cell_icon"
964
- android:layout_width="40dp"
965
- android:layout_height="40dp"
1059
+ android:layout_width="28dp"
1060
+ android:layout_height="28dp"
966
1061
  android:scaleType="centerCrop"
967
1062
  android:visibility="gone" />
968
1063
 
@@ -970,12 +1065,13 @@ function generateFlexGridCellCardLayoutXml(w) {
970
1065
  android:id="@+id/cell_title"
971
1066
  android:layout_width="match_parent"
972
1067
  android:layout_height="wrap_content"
973
- android:layout_marginTop="4dp"
974
- android:textSize="10sp"
1068
+ android:layout_marginTop="2dp"
1069
+ android:textSize="9sp"
975
1070
  android:textColor="${titleColor}"
976
- android:maxLines="2"
1071
+ android:maxLines="1"
977
1072
  android:ellipsize="end"
978
- android:gravity="center" />
1073
+ android:gravity="center"
1074
+ android:singleLine="true" />
979
1075
 
980
1076
  </LinearLayout>
981
1077
  `;
@@ -1050,6 +1146,8 @@ const withAndroidWidget = (config, props = {}) => {
1050
1146
  fs.mkdirSync(dir, { recursive: true });
1051
1147
  }
1052
1148
  });
1149
+ // Copy bundled icons from nn-widgets package to app's drawable
1150
+ copyBundledIcons(resDrawablePath);
1053
1151
  // Check if any widget uses blur background
1054
1152
  const hasBlurWidget = resolvedProps.widgets.some((w) => isBlurBackground(w.style?.backgroundColor));
1055
1153
  // Generate blur background drawables if needed
@@ -1162,10 +1260,6 @@ const withAndroidWidget = (config, props = {}) => {
1162
1260
  "android:name": "android.appwidget.action.APPWIDGET_UPDATE",
1163
1261
  },
1164
1262
  },
1165
- ],
1166
- },
1167
- {
1168
- action: [
1169
1263
  {
1170
1264
  $: {
1171
1265
  "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"}