mayo-firebase-config 1.2.12 → 1.2.14

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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Fri Nov 10 16:28:57 CET 2023
2
+ gradle.version=7.4.2
File without changes
@@ -33,13 +33,13 @@ public class FirebaseConfigExtractorModule extends ReactContextBaseJavaModule {
33
33
  }
34
34
 
35
35
  @ReactMethod
36
- public void extractConfig(Promise promise) {
36
+ public void extractFirebaseConfig(Promise promise) {
37
+ Log.d(NAME, "Starting to extract Firebase config.");
37
38
  try {
38
39
  // Use AssetManager to read the google-services.json file from the assets folder
39
40
  AssetManager assetManager = getReactApplicationContext().getAssets();
41
+ Log.d(NAME, "Attempting to open google-services.json file.");
40
42
  InputStream input = assetManager.open("google-services.json");
41
-
42
- // Log file opened successfully
43
43
  Log.d(NAME, "google-services.json file opened successfully.");
44
44
 
45
45
  // Convert InputStream to String
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayo-firebase-config",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "license": "MIT",
5
5
  "author": "Mohamed Bennekrouf",
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@ export const extractFirebaseConfig = async (): Promise<FirebaseConfig> => {
17
17
  }
18
18
 
19
19
  // Be cautious about logging potentially sensitive information
20
- Logger.error('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
20
+ Logger.info('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
21
21
 
22
22
  return config;
23
23
  } catch (error) {