@aguacerowx/react-native 0.0.4 → 0.0.7

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 (264) hide show
  1. package/README.md +51 -6
  2. package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/transformed/classes/classes_dex/classes.dex +0 -0
  3. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
  4. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
  5. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
  6. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
  7. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
  8. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  9. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  10. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  11. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
  12. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  13. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  14. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  15. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  16. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  17. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +13 -2
  18. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  19. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  20. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  21. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  22. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  23. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  24. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  25. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  26. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  27. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  28. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  29. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +21 -52
  30. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +13 -2
  31. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +21 -14
  32. package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +15 -0
  33. package/android/src/main/res/raw/fragment_shader.glsl +13 -2
  34. package/ios/GridRenderLayer.swift +62 -0
  35. package/ios/GridRenderLayerManager.mm +140 -0
  36. package/ios/aguacerowx-react-native.podspec +29 -0
  37. package/lib/commonjs/README.md +61 -0
  38. package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  39. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  40. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  41. package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  42. package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  43. package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  44. package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  45. package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  46. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  47. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  48. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  49. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  50. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  51. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  52. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  53. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  54. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  55. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  56. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  57. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  58. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  59. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  60. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  61. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  62. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  63. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  64. package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  65. package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  66. package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  67. package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  68. package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  69. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  70. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  71. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +98 -0
  72. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  73. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  74. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  75. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  76. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  77. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  78. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  79. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  80. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  81. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  82. package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  83. package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  84. package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  85. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  86. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  87. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  88. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  89. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  90. package/lib/commonjs/android/build.gradle +85 -0
  91. package/lib/commonjs/android/src/main/AndroidManifest.xml +7 -0
  92. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +34 -0
  93. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +608 -0
  94. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +298 -0
  95. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +118 -0
  96. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +64 -0
  97. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +107 -0
  98. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +166 -0
  99. package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +13 -0
  100. package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +13 -0
  101. package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +98 -0
  102. package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +20 -0
  103. package/lib/commonjs/babel.config.js +7 -0
  104. package/lib/commonjs/babel.config.js.map +1 -0
  105. package/lib/commonjs/index.js +20 -0
  106. package/lib/commonjs/index.js.map +1 -0
  107. package/lib/commonjs/package.json +73 -0
  108. package/lib/commonjs/react-native-builder-bob.config.js +13 -0
  109. package/lib/commonjs/react-native-builder-bob.config.js.map +1 -0
  110. package/lib/commonjs/src/AguaceroContext.js +11 -0
  111. package/lib/commonjs/src/AguaceroContext.js.map +1 -0
  112. package/lib/commonjs/src/GridRenderLayer.js +132 -0
  113. package/lib/commonjs/src/GridRenderLayer.js.map +1 -0
  114. package/lib/commonjs/src/GridRenderLayerNativeComponent.js +11 -0
  115. package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -0
  116. package/lib/commonjs/src/MapManager.js +164 -0
  117. package/lib/commonjs/src/MapManager.js.map +1 -0
  118. package/lib/commonjs/src/MapRegistry.js +36 -0
  119. package/lib/commonjs/src/MapRegistry.js.map +1 -0
  120. package/lib/commonjs/src/StyleApplicator.js +262 -0
  121. package/lib/commonjs/src/StyleApplicator.js.map +1 -0
  122. package/lib/commonjs/src/WeatherLayerManager.js +782 -0
  123. package/lib/commonjs/src/WeatherLayerManager.js.map +1 -0
  124. package/lib/commonjs/tsconfig.json +24 -0
  125. package/lib/module/README.md +61 -0
  126. package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  127. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  128. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  129. package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  130. package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  131. package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  132. package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  133. package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  134. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  135. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  136. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  137. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  138. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  139. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  140. package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  141. package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  142. package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  143. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  144. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  145. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  146. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  147. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  148. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  149. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  150. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  151. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  152. package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  153. package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  154. package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  155. package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  156. package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  157. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  158. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  159. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +98 -0
  160. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  161. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  162. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  163. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  164. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  165. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  166. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  167. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  168. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  169. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  170. package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  171. package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  172. package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  173. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  174. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  175. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  176. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  177. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  178. package/lib/module/android/build.gradle +85 -0
  179. package/lib/module/android/src/main/AndroidManifest.xml +7 -0
  180. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +34 -0
  181. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +608 -0
  182. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +298 -0
  183. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +118 -0
  184. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +64 -0
  185. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +107 -0
  186. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +166 -0
  187. package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +13 -0
  188. package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +13 -0
  189. package/lib/module/android/src/main/res/raw/fragment_shader.glsl +98 -0
  190. package/lib/module/android/src/main/res/raw/vertex_shader.glsl +20 -0
  191. package/lib/module/babel.config.js +5 -0
  192. package/lib/module/babel.config.js.map +1 -0
  193. package/lib/module/index.js +3 -0
  194. package/lib/module/index.js.map +1 -0
  195. package/lib/module/lib/commonjs/README.md +61 -0
  196. package/lib/module/lib/commonjs/android/build.gradle +85 -0
  197. package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +7 -0
  198. package/lib/module/lib/commonjs/babel.config.js +7 -0
  199. package/lib/module/lib/commonjs/babel.config.js.map +1 -0
  200. package/lib/module/lib/commonjs/index.js +20 -0
  201. package/lib/module/lib/commonjs/index.js.map +1 -0
  202. package/lib/module/lib/commonjs/package.json +73 -0
  203. package/lib/module/lib/commonjs/react-native-builder-bob.config.js +13 -0
  204. package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -0
  205. package/lib/module/lib/commonjs/src/AguaceroContext.js +15 -0
  206. package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -0
  207. package/lib/module/lib/commonjs/src/GridRenderLayer.js +155 -0
  208. package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -0
  209. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js +15 -0
  210. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -0
  211. package/lib/module/lib/commonjs/src/MapManager.js +187 -0
  212. package/lib/module/lib/commonjs/src/MapManager.js.map +1 -0
  213. package/lib/module/lib/commonjs/src/MapRegistry.js +36 -0
  214. package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -0
  215. package/lib/module/lib/commonjs/src/StyleApplicator.js +286 -0
  216. package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -0
  217. package/lib/module/lib/commonjs/src/WeatherLayerManager.js +801 -0
  218. package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -0
  219. package/lib/module/lib/commonjs/tsconfig.json +24 -0
  220. package/lib/module/package.json +73 -0
  221. package/lib/module/react-native-builder-bob.config.js +11 -0
  222. package/lib/module/react-native-builder-bob.config.js.map +1 -0
  223. package/lib/module/src/AguaceroContext.js +5 -0
  224. package/lib/module/src/AguaceroContext.js.map +1 -0
  225. package/lib/module/src/GridRenderLayer.js +125 -0
  226. package/lib/module/src/GridRenderLayer.js.map +1 -0
  227. package/lib/module/src/GridRenderLayerNativeComponent.js +5 -0
  228. package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -0
  229. package/lib/module/src/MapManager.js +155 -0
  230. package/lib/module/src/MapManager.js.map +1 -0
  231. package/lib/module/src/MapRegistry.js +30 -0
  232. package/lib/module/src/MapRegistry.js.map +1 -0
  233. package/lib/module/src/StyleApplicator.js +255 -0
  234. package/lib/module/src/StyleApplicator.js.map +1 -0
  235. package/lib/module/src/WeatherLayerManager.js +775 -0
  236. package/lib/module/src/WeatherLayerManager.js.map +1 -0
  237. package/lib/module/tsconfig.json +24 -0
  238. package/lib/typescript/babel.config.d.ts +3 -0
  239. package/lib/typescript/babel.config.d.ts.map +1 -0
  240. package/lib/typescript/index.d.ts +3 -0
  241. package/lib/typescript/index.d.ts.map +1 -0
  242. package/lib/typescript/react-native-builder-bob.config.d.ts +6 -0
  243. package/lib/typescript/react-native-builder-bob.config.d.ts.map +1 -0
  244. package/lib/typescript/src/AguaceroContext.d.ts +2 -0
  245. package/lib/typescript/src/AguaceroContext.d.ts.map +1 -0
  246. package/lib/typescript/src/GridRenderLayer.d.ts +2 -0
  247. package/lib/typescript/src/GridRenderLayer.d.ts.map +1 -0
  248. package/lib/typescript/src/GridRenderLayerNativeComponent.d.ts +12 -0
  249. package/lib/typescript/src/GridRenderLayerNativeComponent.d.ts.map +1 -0
  250. package/lib/typescript/src/MapManager.d.ts +8 -0
  251. package/lib/typescript/src/MapManager.d.ts.map +1 -0
  252. package/lib/typescript/src/MapRegistry.d.ts +12 -0
  253. package/lib/typescript/src/MapRegistry.d.ts.map +1 -0
  254. package/lib/typescript/src/StyleApplicator.d.ts +4 -0
  255. package/lib/typescript/src/StyleApplicator.d.ts.map +1 -0
  256. package/lib/typescript/src/WeatherLayerManager.d.ts +2 -0
  257. package/lib/typescript/src/WeatherLayerManager.d.ts.map +1 -0
  258. package/package.json +53 -15
  259. package/src/AguaceroContext.js +0 -4
  260. package/src/GridRenderLayer.js +0 -121
  261. package/src/MapManager.js +0 -158
  262. package/src/MapRegistry.js +0 -35
  263. package/src/StyleApplicator.js +0 -241
  264. package/src/WeatherLayerManager.js +0 -754
@@ -0,0 +1,85 @@
1
+ // @aguacerowx/react-native/android/build.gradle
2
+
3
+ // This block is correct and necessary.
4
+ repositories {
5
+ google()
6
+ mavenCentral()
7
+ maven {
8
+ url 'https://api.mapbox.com/downloads/v2/releases/maven'
9
+ authentication {
10
+ basic(BasicAuthentication)
11
+ }
12
+ credentials {
13
+ // It's good practice to check for the property on the root project
14
+ username = "mapbox"
15
+ password = project.rootProject.findProperty("MAPBOX_DOWNLOADS_TOKEN") ?: System.getenv("MAPBOX_DOWNLOADS_TOKEN")
16
+ }
17
+ }
18
+ }
19
+
20
+ apply plugin: 'com.android.library'
21
+
22
+ android {
23
+ namespace 'com.aguacerowx.reactnative'
24
+ compileSdk 34 // Consider using rootProject.ext.compileSdkVersion for consistency
25
+
26
+ defaultConfig {
27
+ minSdk 23 // Consider using rootProject.ext.minSdkVersion
28
+ targetSdk 34
29
+ }
30
+
31
+ buildTypes {
32
+ release {
33
+ minifyEnabled false
34
+ }
35
+ }
36
+
37
+ compileOptions {
38
+ sourceCompatibility JavaVersion.VERSION_1_8
39
+ targetCompatibility JavaVersion.VERSION_1_8
40
+ }
41
+ }
42
+
43
+ // These dependencies can be declared immediately.
44
+ dependencies {
45
+ implementation 'com.facebook.react:react-native:+'
46
+ api 'org.locationtech.proj4j:proj4j:1.1.5'
47
+ implementation 'com.github.luben:zstd-jni:1.5.7-6@aar'
48
+ }
49
+
50
+
51
+ // --- THIS IS THE ENHANCED, SELF-CONFIGURING BLOCK ---
52
+ // This block delays dependency resolution until the whole project is configured.
53
+ // It detects the environment and chooses the correct Mapbox artifact automatically.
54
+ project.afterEvaluate {
55
+ // 1. Resolve the Mapbox Version (your existing logic)
56
+ def resolvedMapboxVersion
57
+ if (project.rootProject.hasProperty('mapboxMapsVersion')) {
58
+ resolvedMapboxVersion = project.rootProject.mapboxMapsVersion
59
+ println "[aguacerowx] Found mapboxMapsVersion: ${resolvedMapboxVersion}"
60
+ } else {
61
+ resolvedMapboxVersion = "11.15.2" // A known-good fallback
62
+ println "[aguacerowx] WARNING: Could not find 'mapboxMapsVersion' property. Falling back to ${resolvedMapboxVersion}."
63
+ }
64
+
65
+ // 2. Detect if @rnmapbox/maps is present in the user's project
66
+ // We check the root project to see all included modules.
67
+ def rnMapboxIsPresent = project.rootProject.findProject(':rnmapbox_maps') != null
68
+ def mapboxArtifact
69
+
70
+ // 3. Choose the correct Mapbox artifact based on the detection
71
+ if (rnMapboxIsPresent) {
72
+ // If @rnmapbox/maps is present, we MUST use the ndk27 variant to avoid conflicts.
73
+ mapboxArtifact = "android-ndk27"
74
+ println "[aguacerowx] @rnmapbox/maps detected. Using Mapbox artifact: '${mapboxArtifact}' to ensure compatibility."
75
+ } else {
76
+ // If it's not present, use the standard 'android' variant.
77
+ mapboxArtifact = "android"
78
+ println "[aguacerowx] @rnmapbox/maps not detected. Using standard Mapbox artifact: '${mapboxArtifact}'."
79
+ }
80
+
81
+ // 4. Add the chosen Mapbox dependency using the version and artifact we just determined.
82
+ dependencies {
83
+ implementation "com.mapbox.maps:${mapboxArtifact}:${resolvedMapboxVersion}"
84
+ }
85
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.aguacerowx.reactnative">
4
+ <!-- This manifest is for a library module. It requires very little. -->
5
+ <!-- The package name MUST exactly match the namespace in build.gradle -->
6
+ <!-- and the package declarations in your Java files. -->
7
+ </manifest>
@@ -0,0 +1,34 @@
1
+ // packages/react-native/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java
2
+
3
+ package com.aguacerowx.reactnative;
4
+
5
+ import androidx.annotation.NonNull;
6
+
7
+ import com.facebook.react.ReactPackage;
8
+ import com.facebook.react.bridge.NativeModule;
9
+ import com.facebook.react.bridge.ReactApplicationContext;
10
+ import com.facebook.react.uimanager.ViewManager;
11
+
12
+ import java.util.ArrayList;
13
+ import java.util.Collections;
14
+ import java.util.List;
15
+
16
+ public class AguaceroPackage implements ReactPackage {
17
+
18
+ @NonNull
19
+ @Override
20
+ public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
21
+ List<NativeModule> modules = new ArrayList<>();
22
+ modules.add(new WeatherFrameProcessorModule(reactContext));
23
+ modules.add(new InspectorModule(reactContext)); // ADD THIS LINE
24
+ return modules;
25
+ }
26
+
27
+ @NonNull
28
+ @Override
29
+ public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
30
+ List<ViewManager> managers = new ArrayList<>();
31
+ managers.add(new GridRenderManager());
32
+ return managers;
33
+ }
34
+ }