Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
permissions:
id-token: write # to enable use of OIDC for npm provenance
id-token: write # enables OIDC for npmjs.com "Trusted Publisher" and provenance
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -37,15 +37,12 @@ jobs:
git config --global user.name 'Invertase Publisher'
git config --global user.email 'oss@invertase.io'
- name: Publish Packages
# for lerna, you must write the token out to .npmrc like this
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
git diff --exit-code
yarn lerna changed
yarn lerna version --yes --force-publish=*
yarn lerna publish from-package --yes
env:
# new style token w/scope for `@react-native-firebase` required
# to work with npmjs.com 2FA-or-automation-token package requirement
NPM_TOKEN: ${{ secrets.MIKEHARDY_NPM_TOKEN }}
# No NPM token needed, all of the packages have been configured
# on npmjs.com with this workflow file as an OIDC "Trusted Publisher"
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ tests/node_modules/**
tests/app.playground.js
tests/app.smartreply.js
tests/app.admob.js

/.nx/workspace-data
710 changes: 355 additions & 355 deletions .yarn/releases/yarn-4.9.2.cjs → .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ plugins:
path: .yarn/plugins/@yarnpkg/plugin-postinstall-dev.cjs
spec: "https://raw.githubusercontent.com/sachinraja/yarn-plugin-postinstall-dev/main/bundles/%40yarnpkg/plugin-postinstall-dev.js"

yarnPath: .yarn/releases/yarn-4.9.2.cjs
yarnPath: .yarn/releases/yarn-4.10.3.cjs
12 changes: 6 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ First, add the `google-services` plugin as a dependency inside of your `/android
buildscript {
dependencies {
// ... other dependencies
classpath 'com.google.gms:google-services:4.4.3'
classpath 'com.google.gms:google-services:4.4.4'
// Add me --- /\
}
}
Expand Down Expand Up @@ -310,17 +310,17 @@ Within your projects /android/build.gradle file, provide your own versions by sp
project.ext {
set('react-native', [
versions: [
// Overriding Build/Android SDK Versions
// Overriding Build/Android SDK Versions if desired
android : [
minSdk : 23,
targetSdk : 33,
compileSdk: 34,
],

// Overriding Library SDK Versions
// Overriding Library SDK Versions if desired
firebase: [
// Override Firebase SDK Version
bom : "34.3.0"
bom : "34.4.0"
],
],
])
Expand All @@ -334,8 +334,8 @@ Once changed, rebuild your application with `npx react-native run-android`.
Open your projects `/ios/Podfile` and add any of the globals shown below to the top of the file:

```ruby
# Override Firebase SDK Version
$FirebaseSDKVersion = '12.3.0'
# Override Firebase SDK Version if desired
$FirebaseSDKVersion = '12.4.0'
```

Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.
Expand Down
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
"userUrlFormat": "{{host}}/{{user}}"
},
"ignoreChanges": ["**/docs/**", "**/.github/**", "**/e2e/**", "**/tests/**"],
"version": "23.4.0"
"version": "23.4.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"genversion": "^3.2.0",
"google-java-format": "^2.0.1",
"jest": "^30.0.5",
"lerna": "^8.2.4",
"lerna": "^9.0.0",
"patch-package": "^8.0.0",
"prettier": "^3.6.2",
"regenerator-transform": "^0.15.2",
Expand All @@ -111,5 +111,5 @@
"tests"
]
},
"packageManager": "yarn@4.9.2"
"packageManager": "yarn@4.10.3"
}
8 changes: 4 additions & 4 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react-native": "*"
},
"dependencies": {
"firebase": "12.2.1"
"firebase": "12.4.0"
},
"devDependencies": {
"@react-native-async-storage/async-storage": "^2.2.0",
Expand All @@ -74,7 +74,7 @@
},
"sdkVersions": {
"ios": {
"firebase": "12.3.0",
"firebase": "12.4.0",
"iosTarget": "15.0",
"macosTarget": "10.15",
"tvosTarget": "15.0"
Expand All @@ -83,10 +83,10 @@
"minSdk": 23,
"targetSdk": 34,
"compileSdk": 34,
"firebase": "34.3.0",
"firebase": "34.4.0",
"firebaseCrashlyticsGradle": "3.0.6",
"firebasePerfGradle": "2.0.1",
"gmsGoogleServicesGradle": "4.4.3",
"gmsGoogleServicesGradle": "4.4.4",
"playServicesAuth": "21.4.0",
"firebaseAppDistributionGradle": "5.1.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:4.4.3'
classpath 'com.google.gms:google-services:4.4.4'
classpath("com.android.tools.build:gradle:4.1.0")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
28 changes: 28 additions & 0 deletions packages/remote-config/lib/polyfills.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2016-present Invertase Limited & Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this library except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

import { polyfillGlobal } from 'react-native/Libraries/Utilities/PolyfillFunctions';

// maybe this could be remote-config local install of text-encoding (similar to ai package)
import { TextEncoder, TextDecoder } from 'text-encoding';

polyfillGlobal('TextEncoder', () => TextEncoder);
polyfillGlobal('TextDecoder', () => TextDecoder);
// Object.assign(global, {
// TextEncoder: TextEncoder,
// TextDecoder: TextDecoder,
// });
1 change: 1 addition & 0 deletions packages/remote-config/lib/web/RNFBConfigModule.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '../polyfills';
import {
getApp,
getRemoteConfig,
Expand Down
6 changes: 6 additions & 0 deletions packages/remote-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"text-encoding": "^0.7.0"
},
"devDependencies": {
"@types/text-encoding": "^0.0.40"
}
}
2 changes: 1 addition & 1 deletion tests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.google.gms:google-services:4.4.3' // https://developers.google.com/android/guides/google-services-plugin
classpath 'com.google.gms:google-services:4.4.4' // https://developers.google.com/android/guides/google-services-plugin
classpath 'com.android.tools.build:gradle:8.9.2' // https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
Expand Down
Loading
Loading