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.
- package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/results.bin +1 -0
- package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/results.bin +1 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/BuildConfig.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$Companion.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/expo/modules/nnwidgets/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/nn-widgets_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/expo/modules/nnwidgets/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/nn-widgets_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +16 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/nn-widgets_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
- package/android/src/main/java/expo/modules/nnwidgets/NNWidgetsModule.kt +43 -13
- package/assets/android/drawable/nn_icon_account.xml +10 -0
- package/assets/android/drawable/nn_icon_add.xml +10 -0
- package/assets/android/drawable/nn_icon_add_circle.xml +10 -0
- package/assets/android/drawable/nn_icon_analytics.xml +10 -0
- package/assets/android/drawable/nn_icon_arrow_right.xml +10 -0
- package/assets/android/drawable/nn_icon_barcode.xml +10 -0
- package/assets/android/drawable/nn_icon_bell.xml +10 -0
- package/assets/android/drawable/nn_icon_block.xml +10 -0
- package/assets/android/drawable/nn_icon_bolt.xml +10 -0
- package/assets/android/drawable/nn_icon_book.xml +10 -0
- package/assets/android/drawable/nn_icon_bookmark.xml +10 -0
- package/assets/android/drawable/nn_icon_briefcase.xml +10 -0
- package/assets/android/drawable/nn_icon_bug.xml +10 -0
- package/assets/android/drawable/nn_icon_building.xml +10 -0
- package/assets/android/drawable/nn_icon_camera.xml +13 -0
- package/assets/android/drawable/nn_icon_card.xml +10 -0
- package/assets/android/drawable/nn_icon_cart.xml +10 -0
- package/assets/android/drawable/nn_icon_chart.xml +10 -0
- package/assets/android/drawable/nn_icon_chat.xml +10 -0
- package/assets/android/drawable/nn_icon_check.xml +10 -0
- package/assets/android/drawable/nn_icon_check_circle.xml +10 -0
- package/assets/android/drawable/nn_icon_chevron_right.xml +10 -0
- package/assets/android/drawable/nn_icon_clock.xml +10 -0
- package/assets/android/drawable/nn_icon_close.xml +10 -0
- package/assets/android/drawable/nn_icon_cloud.xml +10 -0
- package/assets/android/drawable/nn_icon_cloud_download.xml +10 -0
- package/assets/android/drawable/nn_icon_cloud_upload.xml +10 -0
- package/assets/android/drawable/nn_icon_code.xml +10 -0
- package/assets/android/drawable/nn_icon_contacts.xml +10 -0
- package/assets/android/drawable/nn_icon_delete.xml +10 -0
- package/assets/android/drawable/nn_icon_desktop.xml +10 -0
- package/assets/android/drawable/nn_icon_devices.xml +10 -0
- package/assets/android/drawable/nn_icon_document.xml +10 -0
- package/assets/android/drawable/nn_icon_dollar.xml +10 -0
- package/assets/android/drawable/nn_icon_download.xml +10 -0
- package/assets/android/drawable/nn_icon_edit.xml +10 -0
- package/assets/android/drawable/nn_icon_error.xml +10 -0
- package/assets/android/drawable/nn_icon_eye.xml +10 -0
- package/assets/android/drawable/nn_icon_eye_off.xml +10 -0
- package/assets/android/drawable/nn_icon_face.xml +10 -0
- package/assets/android/drawable/nn_icon_fast_forward.xml +10 -0
- package/assets/android/drawable/nn_icon_flag.xml +10 -0
- package/assets/android/drawable/nn_icon_folder.xml +10 -0
- package/assets/android/drawable/nn_icon_forum.xml +10 -0
- package/assets/android/drawable/nn_icon_gear.xml +10 -0
- package/assets/android/drawable/nn_icon_grid.xml +10 -0
- package/assets/android/drawable/nn_icon_hammer.xml +10 -0
- package/assets/android/drawable/nn_icon_headphones.xml +10 -0
- package/assets/android/drawable/nn_icon_heart.xml +10 -0
- package/assets/android/drawable/nn_icon_heart_outline.xml +10 -0
- package/assets/android/drawable/nn_icon_home.xml +10 -0
- package/assets/android/drawable/nn_icon_image.xml +10 -0
- package/assets/android/drawable/nn_icon_info.xml +10 -0
- package/assets/android/drawable/nn_icon_lightbulb.xml +10 -0
- package/assets/android/drawable/nn_icon_link.xml +10 -0
- package/assets/android/drawable/nn_icon_location.xml +10 -0
- package/assets/android/drawable/nn_icon_lock.xml +10 -0
- package/assets/android/drawable/nn_icon_mail.xml +10 -0
- package/assets/android/drawable/nn_icon_megaphone.xml +10 -0
- package/assets/android/drawable/nn_icon_menu.xml +10 -0
- package/assets/android/drawable/nn_icon_message.xml +10 -0
- package/assets/android/drawable/nn_icon_mic.xml +10 -0
- package/assets/android/drawable/nn_icon_money.xml +10 -0
- package/assets/android/drawable/nn_icon_more.xml +10 -0
- package/assets/android/drawable/nn_icon_music.xml +10 -0
- package/assets/android/drawable/nn_icon_palette.xml +10 -0
- package/assets/android/drawable/nn_icon_pause.xml +10 -0
- package/assets/android/drawable/nn_icon_people.xml +10 -0
- package/assets/android/drawable/nn_icon_person.xml +10 -0
- package/assets/android/drawable/nn_icon_phone.xml +10 -0
- package/assets/android/drawable/nn_icon_pin.xml +10 -0
- package/assets/android/drawable/nn_icon_play.xml +10 -0
- package/assets/android/drawable/nn_icon_qrcode.xml +10 -0
- package/assets/android/drawable/nn_icon_refresh.xml +10 -0
- package/assets/android/drawable/nn_icon_remove_circle.xml +10 -0
- package/assets/android/drawable/nn_icon_save.xml +10 -0
- package/assets/android/drawable/nn_icon_search.xml +10 -0
- package/assets/android/drawable/nn_icon_share.xml +10 -0
- package/assets/android/drawable/nn_icon_shield.xml +10 -0
- package/assets/android/drawable/nn_icon_star.xml +10 -0
- package/assets/android/drawable/nn_icon_star_outline.xml +10 -0
- package/assets/android/drawable/nn_icon_task.xml +10 -0
- package/assets/android/drawable/nn_icon_trending_down.xml +10 -0
- package/assets/android/drawable/nn_icon_trending_up.xml +10 -0
- package/assets/android/drawable/nn_icon_unlock.xml +10 -0
- package/assets/android/drawable/nn_icon_upload.xml +10 -0
- package/assets/android/drawable/nn_icon_video.xml +10 -0
- package/assets/android/drawable/nn_icon_volume.xml +10 -0
- package/assets/android/drawable/nn_icon_warning.xml +10 -0
- package/assets/android/drawable/nn_icon_zoom.xml +10 -0
- package/build/icons.d.ts +125 -0
- package/build/icons.d.ts.map +1 -0
- package/build/icons.js +136 -0
- package/build/icons.js.map +1 -0
- package/build/index.d.ts +2 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/plugin/build/icons.d.ts +28 -0
- package/plugin/build/icons.d.ts.map +1 -0
- package/plugin/build/icons.js +197 -0
- package/plugin/build/withAndroidWidget.d.ts.map +1 -1
- package/plugin/build/withAndroidWidget.js +124 -30
- 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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
//
|
|
507
|
-
val
|
|
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
|
-
|
|
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
|
-
//
|
|
517
|
-
|
|
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="
|
|
908
|
-
android:paddingVertical="
|
|
1000
|
+
android:paddingHorizontal="4dp"
|
|
1001
|
+
android:paddingVertical="2dp">
|
|
909
1002
|
|
|
910
1003
|
<ImageView
|
|
911
1004
|
android:id="@+id/cell_icon"
|
|
912
|
-
android:layout_width="
|
|
913
|
-
android:layout_height="
|
|
914
|
-
android:layout_marginEnd="
|
|
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="
|
|
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="
|
|
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="
|
|
1055
|
+
android:padding="2dp">
|
|
961
1056
|
|
|
962
1057
|
<ImageView
|
|
963
1058
|
android:id="@+id/cell_icon"
|
|
964
|
-
android:layout_width="
|
|
965
|
-
android:layout_height="
|
|
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="
|
|
974
|
-
android:textSize="
|
|
1068
|
+
android:layout_marginTop="2dp"
|
|
1069
|
+
android:textSize="9sp"
|
|
975
1070
|
android:textColor="${titleColor}"
|
|
976
|
-
android:maxLines="
|
|
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"}
|