diff --git a/e2e/Notifications.test.js b/e2e/Notifications.test.js index a4aa3bbe8dfd033dc7c1be170fa3673e7fa09c23..fd39b4e20ceb7d3b332ac9b9a3713c44e4f9f048 100644 --- a/e2e/Notifications.test.js +++ b/e2e/Notifications.test.js @@ -25,6 +25,7 @@ describe('Notifications', () => { it('Receive notification', async () => { device.sendToHome(); + await expect(elementByLabel('background/notification')).toBeNotVisible(); device.launchApp({newInstance: false, userNotification: createNotification({link: 'background/notification'})}); await expect(elementByLabel('background/notification')).toBeVisible(); }); diff --git a/package.json b/package.json index aa7a629064c4e0da1cf03996c69f9c39e7393c5d..91569500edc7144ce285f8a32ccbaa5bca5e6ca9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-notifications", - "version": "2.0.0-alpha.1", + "version": "2.0.0-alpha.2", "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android", "author": "Lidan Hifi ", "license": "MIT",