Skip to content

Commit

Permalink
chore: release 7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
helenaford committed Jan 15, 2023
1 parent 500faac commit 180c95c
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 15 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4067a1e56a587f1f060ae75d4327aca
4394494c7c7b5d7c3c7f7c8c2160b035
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d1778e90b76cbfd65f2eabee7c8549d9719e3501
bec48d9da71310bc9452906d9fd8637c8fec5511
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4a186c8ad42c34298f533579d73729934128f289af510e83f835f055c63a070a
02e40011b53529732145b861f0daddaba84e3046c38cd6037555241341e94064
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d1a1f5c57b1c16811bad7db3aafea97edd59b8e48b82e72092b6b7f0f0718fe11eee4f1cc4f17ac095200f145bf9e3e348b9135d8cb1d714f23ca91f81285422
1838da8c58b4f7f2382104c2ed53f1fb3967fbeb23910dbde4e06ce729355ab98242b8df07b82322734cbcb9655e27db1fc2f799bff1351281b902afca8e123b
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<versions>
<version>202108261754</version>
</versions>
<lastUpdated>20221212113416</lastUpdated>
<lastUpdated>20230115115146</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b5a84d35be10a55f0cf297b535c6f393
ab761eb54ef384cbf6d515d39441dc36
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3a3aa8e0ff3b1ba4b29bd786b4ea5ce573aaa8c6
05ad4df6fc4198fe0c725f19975fcf39f1033f5d
Original file line number Diff line number Diff line change
@@ -1 +1 @@
47a05c4577965f93e27d40851714fb3d9ddb7815a5d89b6cc47b6d36d19f7183
199665b67a5ab6da0cd2dbccad8f6d59ed08692dced32f68f53a925e4707df29
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d69d13f27128f3ed3bd2487d2bbd35c33320f505abff38df5f946e5f47e73040dc280a500be1a99ef2d8130e68d4ad868ed17f343b9842681b7f83d2b8a82e00
f0c4655acabcd070e0dc77b947b9e919286bfdccd10581fb1a9f20c77e44a468e7913425918ed8446e83a4463ffdf07fe867480d568de6fb82b6b24b30edf055
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@notifee/react-native",
"version": "7.3.0",
"version": "7.4.0",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "Notifee - a feature rich notifications library for React Native.",
"main": "dist/index.js",
Expand Down
24 changes: 20 additions & 4 deletions tests_react_native/example/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ function Root(): any {
alarmManager: true,
repeatFrequency: RepeatFrequency.HOURLY,
};
Notifee.createTriggerNotification(notification, trigger)
.then(notificationId => setId(notificationId))
.catch(console.error);
// Notifee.displayNotification(notification)
// Notifee.createTriggerNotification(notification, trigger)
// .then(notificationId => setId(notificationId))
// .catch(console.error);
Notifee.displayNotification(notification);
}
}

Expand Down Expand Up @@ -479,6 +479,22 @@ function TestComponent(): any {
AppRegistry.registerComponent('test_component', () => TestComponent);

function FullScreenComponent(): any {
useEffect(() => {
(async () => {
await Notifee.displayNotification({
title: 'Testing SINGLE_TOP launch.',
body: 'Expand for a cat!',
android: {
channelId: 'high',
pressAction: {
id: 'default',
launchActivity: 'default',
},
},
});
console.log('displayed initialNotification');
})();
}, []);
return (
// eslint-disable-next-line react-native/no-inline-styles
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
Expand Down
16 changes: 15 additions & 1 deletion tests_react_native/example/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export const notifications: { key: string; notification: Notification | Notifica
},
},
{
key: 'Android Launch Activity Flags',
key: 'Android Launch Activity Flags default',
notification: {
title: 'Testing SINGLE_TOP launch.',
body: 'Expand for a cat!',
Expand All @@ -322,6 +322,20 @@ export const notifications: { key: string; notification: Notification | Notifica
},
},
},
{
key: 'Android Launch Activity Flags custom',
notification: {
title: 'Testing Custom launch.',
body: 'Expand for a cat!',
android: {
channelId: 'foo',
pressAction: {
id: 'default',
launchActivity: 'com.notifee.testing.FullScreenActivity',
},
},
},
},
{
key: 'Chronometer', // See git issue #53
notification: {
Expand Down

0 comments on commit 180c95c

Please sign in to comment.