From 2b32caa237286f0417917010e27a085d92bef63e Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Tue, 25 Jan 2022 09:56:43 -0800 Subject: [PATCH 1/3] ch-rn-asyncstorage --- .changeset/yellow-suns-clean.md | 5 +++++ packages/auth/index.rn.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/yellow-suns-clean.md diff --git a/.changeset/yellow-suns-clean.md b/.changeset/yellow-suns-clean.md new file mode 100644 index 00000000000..5a3f550bb87 --- /dev/null +++ b/.changeset/yellow-suns-clean.md @@ -0,0 +1,5 @@ +--- +'@firebase/auth': patch +--- + +Prevent React Native logging a warning about deprecation of `AsyncStorage` if user has provided the non-deprecated version. diff --git a/packages/auth/index.rn.ts b/packages/auth/index.rn.ts index 42e6b5476ba..71724f357fd 100644 --- a/packages/auth/index.rn.ts +++ b/packages/auth/index.rn.ts @@ -86,4 +86,6 @@ export function getAuth(app: FirebaseApp = getApp()): Auth { }); } +console.log('fsd'); + registerAuth(ClientPlatform.REACT_NATIVE); From 3a24ff6fb5ee2b84d787ae4dfb9614f86c152eaf Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Tue, 25 Jan 2022 09:57:39 -0800 Subject: [PATCH 2/3] revert --- packages/auth/index.rn.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/auth/index.rn.ts b/packages/auth/index.rn.ts index 71724f357fd..42e6b5476ba 100644 --- a/packages/auth/index.rn.ts +++ b/packages/auth/index.rn.ts @@ -86,6 +86,4 @@ export function getAuth(app: FirebaseApp = getApp()): Auth { }); } -console.log('fsd'); - registerAuth(ClientPlatform.REACT_NATIVE); From d3bd3c1c028ae23ff2dd60c63925fa2981210674 Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Tue, 25 Jan 2022 10:15:41 -0800 Subject: [PATCH 3/3] Fix text --- .changeset/yellow-suns-clean.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/yellow-suns-clean.md b/.changeset/yellow-suns-clean.md index 5a3f550bb87..e78ce85b461 100644 --- a/.changeset/yellow-suns-clean.md +++ b/.changeset/yellow-suns-clean.md @@ -2,4 +2,4 @@ '@firebase/auth': patch --- -Prevent React Native logging a warning about deprecation of `AsyncStorage` if user has provided the non-deprecated version. +Prevent React Native from logging a warning about deprecation of `AsyncStorage` if the developer has provided the non-deprecated version.