{"_id":"@amjed-bouhouch/notifee-react-native","_rev":"3-535be459c117f12d0bb9681a44bf5300","name":"@amjed-bouhouch/notifee-react-native","dist-tags":{"latest":"7.9.3"},"versions":{"7.9.0":{"name":"@amjed-bouhouch/notifee-react-native","version":"7.9.0","keywords":["react","react-native","scheduling","channels","android","ios","firebase","fcm","notifee","notifications","onesignal"],"author":{"url":"http://invertase.io","name":"Invertase","email":"oss@invertase.io"},"license":"Apache-2.0","_id":"@amjed-bouhouch/notifee-react-native@7.9.0","maintainers":[{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"}],"homepage":"https://github.com/invertase/notifee#readme","bugs":{"url":"https://github.com/invertase/notifee/issues"},"dist":{"shasum":"0a71333bdab07732ca1670176aee3800f6fd9838","tarball":"https://registry.npmjs.org/@amjed-bouhouch/notifee-react-native/-/notifee-react-native-7.9.0.tgz","fileCount":208,"integrity":"sha512-hzMpjvSsmQDmVlPCXHuOeZU6X1unWwZMVQ5TJU3836rOvFcx5EeYiCMWNwW8kummMMV29nxeL3SuZ4pQfVa02Q==","signatures":[{"sig":"MEYCIQDjitXiktIUxJ0fBZxo1FC0ugRUeNYsysWcDs0sVQ+bdwIhAKf1NrOvi8WxIHrGRN40RfAcbnS9Fwr+IUslww69VPsD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":880079},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"37f9d95a32da5e27c0918894f3ffdb46e6d827fe","scripts":{"build":"genversion --es6 --semi src/version.ts && tsc","prepare":"yarn run build","format:ios":"npm_config_yes=true npx clang-format -i --glob=\"*/**/*.{h,cpp,m,mm}\" --style=Google","build:clean":"rimraf android/libs && rimraf android/build && rimraf ios/build && rimraf dist","build:watch":"tsc --watch","format:android":"google-java-format --replace -i $(find . -type f -name \"*.java\")","prepublishOnly":"cd ../.. && yarn run build:core","validate:all:js":"eslint . --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to .","validate:all:ts":"tsc --project ./"},"_npmUser":{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"},"repository":{"url":"git+https://github.com/invertase/notifee.git","type":"git"},"_npmVersion":"10.5.0","description":"Notifee - a feature rich notifications library for React Native.","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","typedoc":"^0.22.13","prettier":"^2.5.1","genversion":"^3.0.2","typescript":"^4.6.2","@types/react-native":"0.67.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","typedoc-plugin-markdown":"^3.11.14","@typescript-eslint/parser":"^5.14.0","@typescript-eslint/eslint-plugin":"^5.14.0"},"peerDependencies":{"react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/notifee-react-native_7.9.0_1722927415616_0.1780013058012342","host":"s3://npm-registry-packages"}},"7.9.1-rc":{"name":"@amjed-bouhouch/notifee-react-native","version":"7.9.1-rc","keywords":["react","react-native","scheduling","channels","android","ios","firebase","fcm","notifee","notifications","onesignal"],"author":{"url":"http://invertase.io","name":"Invertase","email":"oss@invertase.io"},"license":"Apache-2.0","_id":"@amjed-bouhouch/notifee-react-native@7.9.1-rc","maintainers":[{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"}],"homepage":"https://github.com/invertase/notifee#readme","bugs":{"url":"https://github.com/invertase/notifee/issues"},"dist":{"shasum":"d3f64b4711fe21010acd35c84d5e96ffd0eb0372","tarball":"https://registry.npmjs.org/@amjed-bouhouch/notifee-react-native/-/notifee-react-native-7.9.1-rc.tgz","fileCount":216,"integrity":"sha512-aoja6V+coM0Hqy/UipcSGO6EQQV0jwwMvd5wbOyMA32zaTsCKwfxRiqgEviZ7s1UqTGUOSv2dJjH+GCWcNmxLA==","signatures":[{"sig":"MEQCIH7UbYWZnR9fgc+WhATedAnTeYhyxj90sMfOB+078lP2AiA0Vl7nAVkTulna2lWd55ncmfj+iQ5l0TyCgMkl7044Tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":880317},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"87792047585efdde4574e2bdf4d2b770e2a2a5e7","scripts":{"build":"genversion --es6 --semi src/version.ts && tsc","prepare":"yarn run build","format:ios":"npm_config_yes=true npx clang-format -i --glob=\"*/**/*.{h,cpp,m,mm}\" --style=Google","build:clean":"rimraf android/libs && rimraf android/build && rimraf ios/build && rimraf dist","build:watch":"tsc --watch","format:android":"google-java-format --replace -i $(find . -type f -name \"*.java\")","prepublishOnly":"cd ../.. && yarn run build:core","validate:all:js":"eslint . --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to .","validate:all:ts":"tsc --project ./"},"_npmUser":{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"},"repository":{"url":"git+https://github.com/invertase/notifee.git","type":"git"},"_npmVersion":"10.5.0","description":"Notifee - a feature rich notifications library for React Native.","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","typedoc":"^0.22.13","prettier":"^2.5.1","genversion":"^3.0.2","typescript":"^4.6.2","@types/react-native":"0.67.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","typedoc-plugin-markdown":"^3.11.14","@typescript-eslint/parser":"^5.14.0","@typescript-eslint/eslint-plugin":"^5.14.0"},"peerDependencies":{"react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/notifee-react-native_7.9.1-rc_1722938259667_0.8731070346813536","host":"s3://npm-registry-packages"}},"7.9.2":{"name":"@amjed-bouhouch/notifee-react-native","version":"7.9.2","keywords":["react","react-native","scheduling","channels","android","ios","firebase","fcm","notifee","notifications","onesignal"],"author":{"url":"http://invertase.io","name":"Invertase","email":"oss@invertase.io"},"license":"Apache-2.0","_id":"@amjed-bouhouch/notifee-react-native@7.9.2","maintainers":[{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"}],"homepage":"https://github.com/invertase/notifee#readme","bugs":{"url":"https://github.com/invertase/notifee/issues"},"dist":{"shasum":"001891eee410185b42429921c790c6a93830b675","tarball":"https://registry.npmjs.org/@amjed-bouhouch/notifee-react-native/-/notifee-react-native-7.9.2.tgz","fileCount":216,"integrity":"sha512-1iREWD2Y4YmcVAaTzYfmUWbY3OFwSHvOslY12KKY2OYzczatUnXoBk0hAUQxLQMRatZtQzMy1QJKDwBXq6PkPQ==","signatures":[{"sig":"MEUCIE3brT74rjMZFkUpVSnqYCUDLN9B6jwv8O3WVtzu4nKAAiEAwNNhr0rIOD88mtqlJPgsYIlpLCMHmgZvlq9T+9C7JNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":880293},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"87792047585efdde4574e2bdf4d2b770e2a2a5e7","scripts":{"build":"genversion --es6 --semi src/version.ts && tsc","prepare":"yarn run build","format:ios":"npm_config_yes=true npx clang-format -i --glob=\"*/**/*.{h,cpp,m,mm}\" --style=Google","build:clean":"rimraf android/libs && rimraf android/build && rimraf ios/build && rimraf dist","build:watch":"tsc --watch","format:android":"google-java-format --replace -i $(find . -type f -name \"*.java\")","prepublishOnly":"cd ../.. && yarn run build:core","validate:all:js":"eslint . --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to .","validate:all:ts":"tsc --project ./"},"_npmUser":{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"},"repository":{"url":"git+https://github.com/invertase/notifee.git","type":"git"},"_npmVersion":"10.5.0","description":"Notifee - a feature rich notifications library for React Native.","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","typedoc":"^0.22.13","prettier":"^2.5.1","genversion":"^3.0.2","typescript":"^4.6.2","@types/react-native":"0.67.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","typedoc-plugin-markdown":"^3.11.14","@typescript-eslint/parser":"^5.14.0","@typescript-eslint/eslint-plugin":"^5.14.0"},"peerDependencies":{"react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/notifee-react-native_7.9.2_1722944466414_0.681464219207865","host":"s3://npm-registry-packages"}},"7.9.3":{"name":"@amjed-bouhouch/notifee-react-native","version":"7.9.3","author":{"name":"Invertase","email":"oss@invertase.io","url":"http://invertase.io"},"description":"Notifee - a feature rich notifications library for React Native.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"validate:all:js":"eslint . --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to .","validate:all:ts":"tsc --project ./","build":"genversion --es6 --semi src/version.ts && tsc","build:clean":"rimraf android/libs && rimraf android/build && rimraf ios/build && rimraf dist","build:watch":"tsc --watch","prepare":"yarn run build","prepublishOnly":"cd ../.. && yarn run build:core","format:android":"google-java-format --replace -i $(find . -type f -name \"*.java\")","format:ios":"npm_config_yes=true npx clang-format -i --glob=\"*/**/*.{h,cpp,m,mm}\" --style=Google"},"devDependencies":{"@types/react-native":"0.67.2","@typescript-eslint/eslint-plugin":"^5.14.0","@typescript-eslint/parser":"^5.14.0","eslint":"^7.32.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","genversion":"^3.0.2","prettier":"^2.5.1","rimraf":"^3.0.2","typedoc":"^0.22.13","typedoc-plugin-markdown":"^3.11.14","typescript":"^4.6.2"},"peerDependencies":{"react-native":"*"},"repository":{"type":"git","url":"git+https://github.com/invertase/notifee.git"},"license":"Apache-2.0","keywords":["react","react-native","scheduling","channels","android","ios","firebase","fcm","notifee","notifications","onesignal"],"publishConfig":{"access":"public"},"_id":"@amjed-bouhouch/notifee-react-native@7.9.3","gitHead":"55ea0965d166ca7b9f1c956662e8f8cc01b74a79","bugs":{"url":"https://github.com/invertase/notifee/issues"},"homepage":"https://github.com/invertase/notifee#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-niduaPSUCCpjqVUXkVvZm8J5trsTVeXzzcxgZsuOG0/TwY+A5B9CrRn+WJc5RZlJzcka3vrhq+dQnO3shEFsqA==","shasum":"2a5c361e250e2dbf5611a30f0cf022bc90917b21","tarball":"https://registry.npmjs.org/@amjed-bouhouch/notifee-react-native/-/notifee-react-native-7.9.3.tgz","fileCount":216,"unpackedSize":880301,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETQ6lmsjzpPTKvH7Zl7Hh/Plsg8qVs5rZzu55OyChhOAiBvpbNpwaBPKp+8ucgKHsGywNc28IFJaGL26prr7x41AQ=="}]},"_npmUser":{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"},"directories":{},"maintainers":[{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notifee-react-native_7.9.3_1722974002213_0.9553759396879629"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-06T06:56:55.480Z","modified":"2024-08-06T19:53:22.595Z","7.9.0":"2024-08-06T06:56:55.870Z","7.9.1-rc":"2024-08-06T09:57:39.893Z","7.9.2":"2024-08-06T11:41:06.708Z","7.9.3":"2024-08-06T19:53:22.398Z"},"bugs":{"url":"https://github.com/invertase/notifee/issues"},"author":{"name":"Invertase","email":"oss@invertase.io","url":"http://invertase.io"},"license":"Apache-2.0","homepage":"https://github.com/invertase/notifee#readme","keywords":["react","react-native","scheduling","channels","android","ios","firebase","fcm","notifee","notifications","onesignal"],"repository":{"type":"git","url":"git+https://github.com/invertase/notifee.git"},"description":"Notifee - a feature rich notifications library for React Native.","maintainers":[{"name":"amjedbouhouch","email":"amjedbouhouch@gmail.com"}],"readme":"<p align=\"center\">\n  <a href=\"https://notifee.app\">\n    <img width=\"160px\" src=\"https://notifee.app/logo-icon.png\"><br/>\n  </a>\n  <h2 align=\"center\">Notifee - React Native</h2>\n</p>\n\n---\n\nA feature rich Android & iOS notifications library for React Native.\n\n[> Learn More](https://notifee.app/)\n\n## Installation\n\n```bash\nyarn add @notifee/react-native\n```\n\n## Documentation\n\n- [Overview](https://notifee.app/react-native/docs/overview)\n- [Licensing](https://notifee.app/react-native/docs/license-keys)\n- [Reference](https://notifee.app/react-native/reference)\n\n### Android\n\nThe APIs for Android allow for creating rich, styled and highly interactive notifications. Below you'll find guides that cover the supported Android features.\n\n| Topic                                                                                    |                                                                                                                                   |\n| ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |\n| [Appearance](https://notifee.app/react-native/docs/android/appearance)                   | Change the appearance of a notification; icons, colors, visibility etc.                                                           |\n| [Behaviour](https://notifee.app/react-native/docs/android/behaviour)                     | Customize how a notification behaves when it is delivered to a device; sound, vibration, lights etc.                              |\n| [Channels & Groups](https://notifee.app/react-native/docs/android/channels)              | Organize your notifications into channels & groups to allow users to control how notifications are handled on their device        |\n| [Foreground Service](https://notifee.app/react-native/docs/android/foreground-service)   | Long running background tasks can take advantage of a Android Foreground Services to display an on-going, prominent notification. |\n| [Grouping & Sorting](https://notifee.app/react-native/docs/android/grouping-and-sorting) | Group and sort related notifications in a single notification pane.                                                               |\n| [Interaction](https://notifee.app/react-native/docs/android/interaction)                 | Allow users to interact with your application directly from the notification with actions.                                        |\n| [Progress Indicators](https://notifee.app/react-native/docs/android/progress-indicators) | Show users a progress indicator of an on-going background task, and learn how to keep it updated.                                 |\n| [Styles](https://notifee.app/react-native/docs/android/styles)                           | Style notifications to show richer content, such as expandable images/text, or message conversations.                             |\n| [Timers](https://notifee.app/react-native/docs/android/timers)                           | Display counting timers on your notification, useful for on-going tasks such as a phone call, or event time remaining.            |\n\n### iOS\n\nBelow you'll find guides that cover the supported iOS features.\n\n| Topic                                                             |                                                                          |\n| ----------------------------------------------------------------- | ------------------------------------------------------------------------ |\n| [Appearance](https://notifee.app/react-native/docs/ios/appearance)           | Change now the notification is displayed to your users.       |\n| [Behaviour](https://notifee.app/react-native/docs/ios/behaviour)            | Control how notifications behave when they are displayed to a device; sound, crtitial alerts etc.  |\n| [Categories](https://notifee.app/react-native/docs/ios/categories) | Create & assign categories to notifications.          |\n| [Interaction](https://notifee.app/react-native/docs/ios/interaction)                 | Handle user interaction with your notifications. |                                                    |\n| [Permissions](https://notifee.app/react-native/docs/ios/permissions)                 | Request permission from your application users to display notifications. |                                                    |\n\n### Jest Testing\n\nTo run jest tests after integrating this module, you will need to mock out the native parts of Notifee or you will get an error that looks like:\n\n```bash\n ● Test suite failed to run\n\n    Notifee native module not found.\n\n      59 |     this._nativeModule = NativeModules[this._moduleConfig.nativeModuleName];\n      60 |     if (this._nativeModule == null) {\n    > 61 |       throw new Error('Notifee native module not found.');\n         |             ^\n      62 |     }\n      63 |\n      64 |     return this._nativeModule;\n```\n\nAdd this to a setup file in your project e.g. `jest.setup.js`:\n\nIf you don't already have a Jest setup file configured, please add the following to your Jest configuration file and create the new jest.setup.js file in project root:\n\n```js\nsetupFiles: ['<rootDir>/jest.setup.js'],\n```\n\nYou can then add the following line to that setup file to mock `notifee`:\n\n```js\njest.mock('@notifee/react-native', () => require('@notifee/react-native/jest-mock'))\n```\n\nYou will also need to add `@notifee` to `transformIgnorePatterns` in your config file (`jest.config.js`):\n\n```bash\ntransformIgnorePatterns: [\n    'node_modules/(?!(jest-)?react-native|@react-native|@notifee)'\n]\n```\n\n### Detox Testing\n\nTo utilise Detox's functionality to mock a local notification and trigger notifee's event handlers, you will need a payload with a key `__notifee_notification`:\n\n```js\n{\n  title: 'test',\n  body: 'Body',\n  payload: {\n    __notifee_notification: {\n      ios: {\n        foregroundPresentationOptions: {\n          banner: true,\n          list: true,\n        },\n      },\n      data: {}\n    },\n  },\n}\n```\n\nThe important part is to make sure you have a `__notifee_notification` object under `payload` with the default properties.\n\n## License\n\n- See [LICENSE](/LICENSE)\n\n---\n\n<p>\n  <img align=\"left\" width=\"50px\" src=\"https://static.invertase.io/assets/invertase-logo-small.png\">\n  <p align=\"left\">\n    Built and maintained with 💛 by <a href=\"https://invertase.io\">Invertase</a>.\n  </p>\n</p>\n\n---\n","readmeFilename":"README.md"}