-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
373 changed files
with
26,989 additions
and
8,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: "🚀Feature Request" | ||
about: Make a feature request for React Native Firebase. | ||
title: "\U0001F41B [PACKAGE_NAME_HERE] Your feature request title here" | ||
labels: 'Needs Attention, type: enhancement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## What feature would you like to see? | ||
|
||
Is there a missing a feature that is supported on an underlying SDK? Or is there a feature that you think would be useful to have in React Native Firebase? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: '⚠️ Other Platforms - Bug/Issue report' | ||
title: "[\U0001F41B] Other Platforms Bug Report Title - CHANGE ME " | ||
labels: | ||
- 'Help: Needs Triage' | ||
- 'type: bug' | ||
- 'platform: macOS (Other)' | ||
description: Create an issue specific to 'Other' platforms on React Native Firebase (not Android or iOS). | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: | | ||
Please search to see if an issue already exists for the bug you encountered. | ||
options: | ||
- label: I have searched the existing issues. | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Please confirm you are aware of the 'Other' platform limitations. | ||
description: | | ||
Please see our [Other Platforms](https://rnfirebase.io/platforms) documentation for more information. | ||
options: | ||
- label: I confirm that issue is not relating to a known platform limitation. | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Please confirm, this issue is NOT for Android or iOS? | ||
description: | | ||
This issue template is specifically for issues relating to the 'Other' platforms as defined in our [Other Platforms](https://rnfirebase.io/platforms) documentation. | ||
options: | ||
- label: I confirm that this issue is not for Android and not for iOS. | ||
required: true | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
--- | ||
- type: textarea | ||
attributes: | ||
label: Please describe your issue here. | ||
description: | | ||
Please provide as much detail as possible on your issue here, | ||
include which Firebase module you are using, which React Native version you are using, | ||
what version of React Native Firebase you are using, and any other relevant information. | ||
**Make sure to remove any sensitive information from your issue before submitting it.** | ||
validations: | ||
required: true | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
--- | ||
- type: textarea | ||
id: comments | ||
attributes: | ||
label: Additional context and comments | ||
description: | | ||
Anything else you want to add for this issue? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Update labels on issues with OP response | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
label-op-response: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if the comment is from the OP | ||
id: check-op | ||
run: | | ||
OP=${{ github.event.issue.user.login }} | ||
COMMENTER=${{ github.event.comment.user.login }} | ||
if [ "$OP" = "$COMMENTER" ]; then | ||
echo "op_comment=true" >> $GITHUB_ENV | ||
else | ||
echo "op_comment=false" >> $GITHUB_ENV | ||
fi | ||
- name: Add 'Needs Attention' label if OP responded | ||
if: env.op_comment == 'true' | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
labels: 'Needs Attention' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
- name: Remove 'blocked customer-response' label if OP responded | ||
if: env.op_comment == 'true' | ||
uses: actions-ecosystem/action-remove-labels@v1 | ||
with: | ||
labels: 'blocked: customer-response' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
.github/workflows/scripts/functions/src/fetchAppCheckToken.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* | ||
* Testing tools for invertase/react-native-firebase use only. | ||
* | ||
* Copyright (C) 2018-present Invertase Limited <oss@invertase.io> | ||
* | ||
* See License file for more information. | ||
*/ | ||
|
||
import * as admin from 'firebase-admin'; | ||
import * as functions from 'firebase-functions'; | ||
|
||
// Note: this will only work in a live environment, not locally via the Firebase emulator. | ||
export const fetchAppCheckToken = functions.https.onCall(async data => { | ||
const { appId } = data; | ||
const expireTimeMillis = Math.floor(Date.now() / 1000) + 60 * 60; | ||
const result = await admin.appCheck().createToken(appId); | ||
return { ...result, expireTimeMillis }; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.