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.
- 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 +179 -18
- 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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
//
|
|
475
|
-
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
|
|
476
584
|
iconName.replace("-", "_").lowercase(),
|
|
477
|
-
|
|
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
|
-
//
|
|
485
|
-
|
|
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
|
|
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
|
|
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
|
|
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"}
|