Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit e4d0512

Browse files
authored
Merge branch 'master' into master
2 parents cd2038d + d33323b commit e4d0512

File tree

94 files changed

+4834
-566
lines changed

Some content is hidden

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

94 files changed

+4834
-566
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

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,9 @@ react-native-notifications.iml
5757
.idea
5858
.gradle
5959
local.properties
60+
61+
# Example app
62+
example
63+
64+
# Git
65+
.git

CHANGELOG.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Features
11+
12+
### Fixed
13+
14+
## [3.3.1] - 2020-05-01
15+
16+
### Fixed
17+
18+
- (Android) Fix regression with the importance of the notification.
19+
20+
## [3.3.0] - 2020-04-29
21+
22+
### Features
23+
24+
- (Android) Keep interface parity with PushNotificationIOS [#909](https://github.com/zo0r/react-native-push-notification/pull/909)
25+
- (Android) Unsubscribe from topic [#917](https://github.com/zo0r/react-native-push-notification/pull/917)
26+
- (Android) Add notification data in onNotification [#1212](https://github.com/zo0r/react-native-push-notification/pull/1212)
27+
28+
### Fixed
29+
30+
- (Android) Create default channel to receive notification when background / killed.
31+
- (Android) Fix vibrate: false is ignored [#878](https://github.com/zo0r/react-native-push-notification/issues/1140)
32+
- `package.json` fix suffic in main, `index` => `index.js` [#878](https://github.com/zo0r/react-native-push-notification/pull/878)
33+
34+
### Breaking changes
35+
36+
- (Android) Remove specific code for GCM [#1322](https://github.com/zo0r/react-native-push-notification/issues/1322)
37+
- `<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>` must be removed.
38+
39+
## [3.2.1] - 2020-04-20
40+
41+
### Fixed
42+
43+
- Invalid type `Strint` wrong typo
44+
- Missing import
45+
46+
## [3.2.0] - 2020-04-20
47+
48+
### Features
49+
50+
- (Android) Allow to silence Android foreground notifications [#1183](https://github.com/zo0r/react-native-push-notification/pull/1183)
51+
- (Android) Allow to set the notification to executes on idle [#959](https://github.com/zo0r/react-native-push-notification/pull/959)
52+
- (iOS) Add missing "category" parameter when scheduling local notifications. [#457](https://github.com/zo0r/react-native-push-notification/pull/457)
53+
54+
### Fixed
55+
56+
- Fix: Breaking android x compatibility regression
57+
- Fix: Use FirebaseInstanceId for deviceToken, not from Intent [#1355](https://github.com/zo0r/react-native-push-notification/pull/1355)
58+
- Fix: security issue `limit the components that Intent will resolve to` [#687](https://github.com/zo0r/react-native-push-notification/pull/687)
59+
- Fix: remove fishy reference from android project files [#1226](https://github.com/zo0r/react-native-push-notification/pull/1226)
60+
- Fix: `JSON value '<null>' of type NSNull cannot be converted to NSDictionary` [#1030](https://github.com/zo0r/react-native-push-notification/pull/1030)
61+
- Fix: Fixed foreground FCM banner notifications and notification sound [#1042](https://github.com/zo0r/react-native-push-notification/pull/1042)
62+
- Upgrade ShortCutBadger to 1.1.22 [#646](https://github.com/zo0r/react-native-push-notification/pull/646)
63+
- Upgrade exemple to React-Native 0.62.2
64+
- Remove Types from the code use [@types/react-native-push-notification](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native-push-notification) instead.
65+
- Remove GCM and C2DM references in README.md
66+
67+
### Possible Breaking change
68+
69+
- Rename firebaseVersion to firebaseMessagingVersion [#1191](https://github.com/zo0r/react-native-push-notification/pull/1191) in gradle.build
70+
71+
### Documentation
72+
73+
- Abandon permissions unregisters remote only [#1282](https://github.com/zo0r/react-native-push-notification/pull/1282)
74+
- Use full path for manifest [#567](https://github.com/zo0r/react-native-push-notification/pull/567)
75+
- Update broken link to docs [#995](https://github.com/zo0r/react-native-push-notification/pull/995)
76+
- Missing step for android manual installation [#1363](https://github.com/zo0r/react-native-push-notification/pull/1363)
77+
78+
## [3.1.3] - 2019-05-25
79+
80+
## Fixed
81+
82+
- Fix Configuration 'compile' is obsolete and has been replaced with 'implementation' and Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
83+
It will be removed at the end of 2018. [#1106](https://github.com/zo0r/react-native-push-notification/issues/1106)
84+
85+
## [3.1.2] - 2018-10-16
86+
87+
## Added
88+
89+
- Allow to set notification's priority, visibility and importance options on Android, [@lorenc-tomasz](https://github.com/lorenc-tomasz) `aaf2d19` [#854](https://github.com/zo0r/react-native-push-notification/pull/854)
90+
- Added the "old" GCM listener to get compatibility with GCM back, [@zo0r](https://github.com/zo0r) `3bd0b6f` [#835](https://github.com/zo0r/react-native-push-notification/pull/835)
91+
- Allow configuring notification channel and color through manifest, [@Truebill](https://github.com/Truebill) `f7b4759` [#822](https://github.com/zo0r/react-native-push-notification/pull/822)
92+
93+
## Fixed
94+
95+
- Fix example app cancel notification, [@hshiraiwa](https://github.com/danibonilha) `1143632` [#869](https://github.com/zo0r/react-native-push-notification/pull/869)
96+
- Update documentation to avoid falling Androids' build, [@danibonilha](https://github.com/danibonilha) `fc5c722` [#879](https://github.com/zo0r/react-native-push-notification/pull/879)
97+
- Fix react-native link command, [@lfkwtz](https://github.com/lfkwtz) `9708445` [#839](https://github.com/zo0r/react-native-push-notification/pull/839)
98+
- Standardize Changelog, [@rodrigobdz](https://github.com/rodrigobdz) `a95af74` [#831](https://github.com/zo0r/react-native-push-notification/pull/831)
99+
- Updated sdk and build tool version on gradle file, [@receme](https://github.com/receme) `8718e61` [#826](https://github.com/zo0r/react-native-push-notification/pull/826)
100+
- Fix requestPermissions crash, [@zo0r](https://github.com/zo0r) `feada0c` [#809](https://github.com/zo0r/react-native-push-notification/pull/809)
101+
- Readme clarification on localNotificationSchedule(), [@brownmagik352](https://github.com/brownmagik352) `beedb16` [#816](https://github.com/zo0r/react-native-push-notification/pull/816)
102+
- Fix title and message for Firebase, [@Truebill](https://github.com/Truebill) `ccd9edc` [#806](https://github.com/zo0r/react-native-push-notification/pull/806)
103+
- Fix pop initial for firebase, [@Truebill](https://github.com/Truebill) `b61ce08` [#807](https://github.com/zo0r/react-native-push-notification/pull/807)
104+
- Various readme typos, [@elitree](https://github.com/elitree) `a071458` [#802](https://github.com/zo0r/react-native-push-notification/pull/802)
105+
106+
## [3.1.1] - 2018-07-31
107+
108+
## Added
109+
110+
- Android Oreo support (SDK >= 26) (PR [#657](https://github.com/zo0r/react-native-push-notification/pull/657))
111+
- Firebase (FCM) Support (PR [#717](https://github.com/zo0r/react-native-push-notification/pull/717))
112+
- Twilio support (PR [#744](https://github.com/zo0r/react-native-push-notification/pull/744))
113+
- clearLocalNotification (PR [#711](https://github.com/zo0r/react-native-push-notification/pull/711))
114+
115+
## Fixed
116+
117+
- checkPermissions (PR [#721](https://github.com/zo0r/react-native-push-notification/pull/721))
118+
- Remove default alert for silent push (PR [#707](https://github.com/zo0r/react-native-push-notification/pull/707))
119+
120+
[unreleased]: https://github.com/zo0r/react-native-push-notification/compare/v3.1.2...HEAD
121+
[3.1.2]: https://github.com/zo0r/react-native-push-notification/compare/v3.1.1...v3.1.2
122+
[3.1.1]: https://github.com/zo0r/react-native-push-notification/compare/...v3.1.1

0 commit comments

Comments
 (0)