Skip to content

Commit 6277b37

Browse files
authored
Merge pull request #4 from 6DegreeLabs/MergeUpstream-3.4.0
Merge Upstream 3.4.0
2 parents 763feaa + ea59d4c commit 6277b37

File tree

80 files changed

+2697
-2047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+2697
-2047
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
name: '🐛 Bug Report'
3+
about: Report a reproducible bug or regression in this library.
4+
---
5+
6+
# Bug
7+
8+
<!--
9+
Please provide a clear and concise description of what the bug is.
10+
Include screenshots or gifs if needed.
11+
Please test using the latest release of the library, as maybe your bug has been already fixed.
12+
If the library has multiple install methods, describe installation method (e.g., pod, not pod, with jetifier etc).
13+
14+
**Please note that issues that do not follow the template may be closed.**
15+
-->
16+
17+
## Environment info
18+
19+
<!--
20+
Run `react-native info` in your terminal and paste the results here. Also, include the *precise* version number of this library that you are using in the project
21+
-->
22+
23+
`react-native info` output:
24+
25+
```bash
26+
// paste it here
27+
```
28+
29+
Library version: x.x.x
30+
31+
## Steps To Reproduce
32+
33+
<!--
34+
- You must provide a clear list of steps and code to reproduce the problem.
35+
- Keep the code reproducing the bug as simple as possible, with the minimum amount of code required to reproduce the issue. See https://stackoverflow.com/help/mcve.
36+
- Either re-create the bug using the repository's example app or link to a GitHub repository with code that reproduces the bug.
37+
- Explain the steps we need to take to reproduce the issue:
38+
-->
39+
40+
1.
41+
2.
42+
...
43+
44+
Describe what you expected to happen:
45+
46+
1.
47+
2.
48+
49+
## Reproducible sample code
50+
51+
<!--
52+
Please add minimal runnable repro as explained above so that the bug can be tested in isolation.
53+
-->
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: '💡 Feature Request'
3+
about: Submit your idea for a change in the codebase.
4+
---
5+
6+
# Feature Request
7+
8+
<!--
9+
This issue should serve for you to present or pitch an idea to the maintainers - but remember that it would be better if you were to submit a PR instead 🤗
10+
-->
11+
12+
## Why it is needed
13+
14+
<!--
15+
Please tell us a bit more of why you want this feature to be added, what's its origin
16+
-->
17+
18+
## Possible implementation
19+
20+
<!--
21+
It really helps if you could describe from a technical POV how this new feature would work, which code it rely on, etc
22+
-->
23+
24+
### Code sample
25+
26+
<!--
27+
Please show how the new code could work, if doable
28+
-->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: '🤔 Questions and Help'
3+
about: Use this if there is something not clear about the code or its docs.
4+
---
5+
6+
# Question
7+
8+
<!--
9+
Before submitting it, please ensure that this was not already asked in another issue, or on StackOverflow. Ideally, you should always refer to StackOverflow first.
10+
11+
This issue should serve for you to ask a question about the library to the maintainers and other fellow developers - remember that even if the issue gets closed, the conversation can move forward 🤗
12+
Also, ideally this issue should culminate in a PR to the documentation for this library so that future developers will have that doubt cleared.
13+
-->

.github/workflows/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v1
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions."
14+
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions."
15+
days-before-stale: 560
16+
days-before-close: 30
17+
operations-per-run: 30

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ local.properties
3434
node_modules/*
3535
npm-debug.log
3636

37+
yarn.lock
38+
package-lock.json
39+
3740
android/android.iml
3841
android/gradle.properties
3942
android/gradle/
4043
android/gradlew
4144
android/gradlew.bat
4245
android/src/main/gen
46+
47+
#Debug only
48+
google-services.json

CHANGELOG.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,100 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Features
10+
11+
### Fixed
12+
13+
## [3.4.0] - 2020-05-08
14+
15+
### Features
16+
17+
- (Android) Call `onRegister` when [Firebase renew token](<https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/FirebaseMessagingService#onNewToken(java.lang.String)>).
18+
- (Android) Added Abandon Permissions method to Android [#1425](https://github.com/zo0r/react-native-push-notification/pull/1425)
19+
- (Android) Add a new key in `AndroidManifest.xml` to allow/remove notification in foreground.
20+
21+
```xml
22+
<meta-data android:name="com.dieam.reactnativepushnotification.notification_foreground"
23+
android:value="false"/>
24+
```
25+
26+
### Fixed
27+
28+
- (Android) `number` and `id` are now correctly handled as number in Android.
29+
- (iOS) Update push-notification-ios to 1.2.0 [#1410](https://github.com/zo0r/react-native-push-notification/pull/1410)
30+
- Make sure to import PushNotificationIOS from react-native first [#617](https://github.com/zo0r/react-native-push-notification/pull/617)
31+
32+
## [3.3.1] - 2020-05-01
33+
34+
### Fixed
35+
36+
- (Android) Fix regression with the importance of the notification.
37+
38+
## [3.3.0] - 2020-04-29
39+
40+
### Features
41+
42+
- (Android) Keep interface parity with PushNotificationIOS [#909](https://github.com/zo0r/react-native-push-notification/pull/909)
43+
- (Android) Unsubscribe from topic [#917](https://github.com/zo0r/react-native-push-notification/pull/917)
44+
- (Android) Add notification data in onNotification [#1212](https://github.com/zo0r/react-native-push-notification/pull/1212)
45+
46+
### Fixed
47+
48+
- (Android) Create default channel to receive notification when background / killed.
49+
- (Android) Fix vibrate: false is ignored [#878](https://github.com/zo0r/react-native-push-notification/issues/1140)
50+
- `package.json` fix suffic in main, `index` => `index.js` [#878](https://github.com/zo0r/react-native-push-notification/pull/878)
51+
52+
### Breaking changes
53+
54+
- (Android) Remove specific code for GCM [#1322](https://github.com/zo0r/react-native-push-notification/issues/1322)
55+
- `<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>` must be removed.
56+
57+
## [3.2.1] - 2020-04-20
58+
59+
### Fixed
60+
61+
- Invalid type `Strint` wrong typo
62+
- Missing import
63+
64+
## [3.2.0] - 2020-04-20
65+
66+
### Features
67+
68+
- (Android) Allow to silence Android foreground notifications [#1183](https://github.com/zo0r/react-native-push-notification/pull/1183)
69+
- (Android) Allow to set the notification to executes on idle [#959](https://github.com/zo0r/react-native-push-notification/pull/959)
70+
- (iOS) Add missing "category" parameter when scheduling local notifications. [#457](https://github.com/zo0r/react-native-push-notification/pull/457)
71+
72+
### Fixed
73+
74+
- Fix: Breaking android x compatibility regression
75+
- Fix: Use FirebaseInstanceId for deviceToken, not from Intent [#1355](https://github.com/zo0r/react-native-push-notification/pull/1355)
76+
- Fix: security issue `limit the components that Intent will resolve to` [#687](https://github.com/zo0r/react-native-push-notification/pull/687)
77+
- Fix: remove fishy reference from android project files [#1226](https://github.com/zo0r/react-native-push-notification/pull/1226)
78+
- Fix: `JSON value '<null>' of type NSNull cannot be converted to NSDictionary` [#1030](https://github.com/zo0r/react-native-push-notification/pull/1030)
79+
- Fix: Fixed foreground FCM banner notifications and notification sound [#1042](https://github.com/zo0r/react-native-push-notification/pull/1042)
80+
- Upgrade ShortCutBadger to 1.1.22 [#646](https://github.com/zo0r/react-native-push-notification/pull/646)
81+
- Upgrade exemple to React-Native 0.62.2
82+
- Remove Types from the code use [@types/react-native-push-notification](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native-push-notification) instead.
83+
- Remove GCM and C2DM references in README.md
84+
85+
### Possible Breaking change
86+
87+
- Rename firebaseVersion to firebaseMessagingVersion [#1191](https://github.com/zo0r/react-native-push-notification/pull/1191) in gradle.build
88+
89+
### Documentation
90+
91+
- Abandon permissions unregisters remote only [#1282](https://github.com/zo0r/react-native-push-notification/pull/1282)
92+
- Use full path for manifest [#567](https://github.com/zo0r/react-native-push-notification/pull/567)
93+
- Update broken link to docs [#995](https://github.com/zo0r/react-native-push-notification/pull/995)
94+
- Missing step for android manual installation [#1363](https://github.com/zo0r/react-native-push-notification/pull/1363)
95+
96+
## [3.1.3] - 2019-05-25
97+
98+
## Fixed
99+
100+
- Fix Configuration 'compile' is obsolete and has been replaced with 'implementation' and Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
101+
It will be removed at the end of 2018. [#1106](https://github.com/zo0r/react-native-push-notification/issues/1106)
102+
9103
## [3.1.2] - 2018-10-16
10104

11105
## Added

0 commit comments

Comments
 (0)