{"_id":"@appaflytech/wappa-notifications","_rev":"7-70a0c4c7cc9fd204930489e1b1565c05","name":"@appaflytech/wappa-notifications","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@appaflytech/wappa-notifications","version":"0.0.1","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"author":{"name":"Wappa"},"license":"MIT","_id":"@appaflytech/wappa-notifications@0.0.1","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"dist":{"shasum":"3b6834d999d31e668c89892a8deef7dcef5c04cc","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.1.tgz","fileCount":31,"integrity":"sha512-bwr8/bbH1FPxmAYup0uwwKVvIcETgVwYHI46JQ/lMwO1prMao4P+Sk7g/BkQAa1j8boTpNDk9LQwjYDd6Cl4wA==","signatures":[{"sig":"MEUCIEwcLKVJKHL1r8M8MXbvtePkjf20ghq7DuMhrf3W+r7eAiEAlFW06WMZ5vyNE3cUJAkDXfZtDChOuE3IoXL1aB0F2Fk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47151},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"gitHead":"fa1708d1d7647388ef97f5c2933e0a2bd3b80bdf","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","prepare":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},"_npmVersion":"11.5.1","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","react-native":"dist/index.js","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.5"},"peerDependencies":{"react":">=17.0.0","expo-device":">=5.0.0","react-native":">=0.68.0","expo-notifications":">=0.20.0","@react-native-async-storage/async-storage":">=1.17.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/wappa-notifications_0.0.1_1781706049519_0.6447004368294222","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@appaflytech/wappa-notifications","version":"0.0.2","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"author":{"name":"Wappa"},"license":"MIT","_id":"@appaflytech/wappa-notifications@0.0.2","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"dist":{"shasum":"bbfab886d9b1a41ac6f01985832f721bb693f384","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.2.tgz","fileCount":31,"integrity":"sha512-tjmXMHmX/sgFiN9tVcz2fPpx80eC2ZkMLgqbEGjNgqTsS2bugRuyonRCMOThf6wfnECgC/3o51nubYUgS0d9kA==","signatures":[{"sig":"MEUCIQDNdaZs4Ny5Ali3u7soS4xazBKScIf/IbNLH3yrnGKklQIgRoTF80dGtCulGTrKsUAJ5ZCR+92CfPSQuYjoP475iLw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48271},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"gitHead":"c4e0a805270e297c6a1013451be5008194a51185","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","prepare":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},"_npmVersion":"11.5.1","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","react-native":"dist/index.js","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.5"},"peerDependencies":{"react":">=17.0.0","expo-device":">=5.0.0","react-native":">=0.68.0","expo-notifications":">=0.20.0","@react-native-async-storage/async-storage":">=1.17.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/wappa-notifications_0.0.2_1781777757032_0.4475291100943046","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@appaflytech/wappa-notifications","version":"0.0.3","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"author":{"name":"Wappa"},"license":"MIT","_id":"@appaflytech/wappa-notifications@0.0.3","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"dist":{"shasum":"ea437e86c4d18e982588eb9c629f48fb3e1cf4e4","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.3.tgz","fileCount":36,"integrity":"sha512-HN/F69NKn6CPMaxXCF+VHL7qx5Man9LHBqXVj/uTkP104OOI8pfv+GbhEvk8YE+1QTvdv6iFT8NMqs61WdfGkA==","signatures":[{"sig":"MEQCIEitVW2R+w9RuDsmz3uGRPCM2PZXiIHljhiZ7N6TyEohAiAe3FPWmGiVucO2L5aNYhDwW4PlONsAfjWdGN4gi07IVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64170},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"gitHead":"d8b91aaec9960eeefb232df5fa19e2b42d856c83","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","prepare":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},"_npmVersion":"11.5.1","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"@expo/config-plugins":"^9.0.0","@react-native-firebase/app":"^23.0.0","@react-native-firebase/messaging":"^23.0.0"},"react-native":"dist/index.js","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.5"},"peerDependencies":{"react":">=17.0.0","expo-device":">=5.0.0","react-native":">=0.68.0","expo-notifications":">=0.20.0","@react-native-async-storage/async-storage":">=1.17.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/wappa-notifications_0.0.3_1781783946107_0.8592441169563678","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@appaflytech/wappa-notifications","version":"0.0.4","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"author":{"name":"Wappa"},"license":"MIT","_id":"@appaflytech/wappa-notifications@0.0.4","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"dist":{"shasum":"bd51e864375298589bb20089cbdcfe02b77438d0","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.4.tgz","fileCount":36,"integrity":"sha512-whxbiphhZDp7q9QIDfnUee6Msx3DOdI6NWoXdhMp7eZCWX++VQ3eFwogiw/L9f7kmiBnwXS1KBeZj6ZYq4H8Zw==","signatures":[{"sig":"MEUCIQCc+vfDVzqEC3gu7qWAB0QaP4DZCb/e/FMnPJiDzh+u0QIgOY6R/IafLJLaQck0ika8jLZfzwZgh7ip5C5e+BjLNs0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66285},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"gitHead":"dd01e2754922e382a436039d967a717e21e86a9d","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","prepare":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},"_npmVersion":"11.5.1","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"@expo/config-plugins":"^9.0.0","@react-native-firebase/app":"^23.0.0","@react-native-firebase/messaging":"^23.0.0"},"react-native":"dist/index.js","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.5"},"peerDependencies":{"react":">=17.0.0","expo-device":">=5.0.0","react-native":">=0.68.0","expo-notifications":">=0.20.0","@react-native-async-storage/async-storage":">=1.17.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/wappa-notifications_0.0.4_1781787960582_0.7129981762078368","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@appaflytech/wappa-notifications","version":"0.0.6","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"author":{"name":"Wappa"},"license":"MIT","_id":"@appaflytech/wappa-notifications@0.0.6","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"dist":{"shasum":"7343dec5645a43c781c23593bc02579d906c801c","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.6.tgz","fileCount":36,"integrity":"sha512-ZYX2SMAdBKSkQW88Lv6jX6aDa5/oAZdzrI69Z32rG3TtaLCOKxkddTHJrb6eocA8s39NHXO4+OSOWGrLyiXzQQ==","signatures":[{"sig":"MEYCIQCFQApPRvZSXVGf6Yd8LwrKLzN/8u0nbaimoq3MDCqtXwIhAMC3vvKmSLF13a3f/HceSGI5Jcw9QLZSgFdn/WBcu2ct","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68424},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"gitHead":"d2689214cd5c5917137b263c0008a07f75af4f56","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","prepare":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},"_npmVersion":"11.5.1","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"@expo/config-plugins":"^9.0.0","@react-native-firebase/app":"^23.0.0","@react-native-firebase/messaging":"^23.0.0"},"react-native":"dist/index.js","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.5"},"peerDependencies":{"react":">=17.0.0","expo-device":">=5.0.0","react-native":">=0.68.0","expo-notifications":">=0.20.0","@react-native-async-storage/async-storage":">=1.17.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/wappa-notifications_0.0.6_1781792411916_0.9802055537692764","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@appaflytech/wappa-notifications","version":"0.0.7","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"author":{"name":"Wappa"},"license":"MIT","_id":"@appaflytech/wappa-notifications@0.0.7","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"dist":{"shasum":"06d82af23c6aac26ef46ae50b08825dd36916406","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.7.tgz","fileCount":36,"integrity":"sha512-woB8P/rtSBimvtdmJ2fhdMAWFBIyXQzHFHfrvBfs2VaUlmjUwRzTZ7J2mi+OO9qqQSV6OKAAA3tDNtYhvNk76A==","signatures":[{"sig":"MEUCIQDysnSNafTcNEojzm0Zm4o8rT2Xv8AhBEHT+FLdERV1kwIgCMyuBsE/hrj1RoZ9gVNr6s0H0nOc0NA8QLpFt+hDl7k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68564},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"gitHead":"07c2661d8912957eb32f72092cb04f8057414624","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","prepare":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:34d0b444-4fa9-4533-abab-3b289f243af8"}},"_npmVersion":"11.18.0","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@expo/config-plugins":"^9.0.0"},"react-native":"dist/index.js","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.5"},"peerDependencies":{"react":">=17.0.0","expo-device":">=5.0.0","react-native":">=0.68.0","expo-notifications":">=0.20.0","@react-native-firebase/app":">=17.0.0","@react-native-firebase/messaging":">=17.0.0","@react-native-async-storage/async-storage":">=1.17.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true},"@react-native-firebase/app":{"optional":true},"@react-native-firebase/messaging":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/wappa-notifications_0.0.7_1782837336368_0.5977614920353249","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@appaflytech/wappa-notifications","version":"0.0.8","description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"license":"MIT","author":{"name":"Wappa"},"main":"dist/index.js","module":"dist/index.js","react-native":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"scripts":{"clean":"rm -rf dist","build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm run clean && npm run build"},"dependencies":{"@expo/config-plugins":"^9.0.0"},"peerDependencies":{"@react-native-async-storage/async-storage":">=1.17.0","@react-native-firebase/app":">=17.0.0","@react-native-firebase/messaging":">=17.0.0","expo-device":">=5.0.0","expo-notifications":">=0.20.0","react":">=17.0.0","react-native":">=0.68.0"},"peerDependenciesMeta":{"expo-constants":{"optional":true},"@react-native-firebase/app":{"optional":true},"@react-native-firebase/messaging":{"optional":true}},"devDependencies":{"typescript":"^5.4.5"},"engines":{"node":">=18"},"gitHead":"25e807d0fb16fd4e5b6e4aec583c5d54004da467","_id":"@appaflytech/wappa-notifications@0.0.8","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-UNFo38m/FkZP0DVXv0b7WdsNOqNKz4uqCRENTukQS/ZC9n6GqGzgIEcCG0GdXdhKVhlbAA1qPcIUCPEQYVP6Gw==","shasum":"306da60337160389c76e6000955e3a01003b720e","tarball":"https://registry.npmjs.org/@appaflytech/wappa-notifications/-/wappa-notifications-0.0.8.tgz","fileCount":36,"unpackedSize":68563,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDF3gDSo49uDzEEpjP8CVy+sIx2NMLUZVQHlItpuh1QrAiEA08YXjOKZQBfGRhmQdVdwEJu2bitGVcveTWM7PjpE9ts="}]},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:34d0b444-4fa9-4533-abab-3b289f243af8"}},"directories":{},"maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wappa-notifications_0.0.8_1783670899448_0.4568787704613986"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-17T14:20:49.313Z","modified":"2026-07-10T08:08:19.677Z","0.0.1":"2026-06-17T14:20:49.664Z","0.0.2":"2026-06-18T10:15:57.204Z","0.0.3":"2026-06-18T11:59:06.237Z","0.0.4":"2026-06-18T13:06:00.713Z","0.0.6":"2026-06-18T14:20:12.059Z","0.0.7":"2026-06-30T16:35:36.504Z","0.0.8":"2026-07-10T08:08:19.567Z"},"author":{"name":"Wappa"},"license":"MIT","keywords":["expo","react-native","push-notifications","notifications","wappa","expo-notifications"],"description":"Drop-in push notifications for Expo / React Native apps, powered by the Wappa panel. One env variable, one function call.","maintainers":[{"name":"emrahyurttutan","email":"emrah@yurttutan.net"},{"name":"appa-tech","email":"appaflytech@gmail.com"}],"readme":"# wappa-notifications\n\nExpo / React Native uygulamalarına **tek satırda** push notification ekleyen SDK.\nWappa paneline bağlanır — bir geliştirici kendi mobil uygulamasına bu paketi kurar,\ntek bir **env değişkeni** girer, projenin herhangi bir yerinde tek fonksiyon çağırır\nve bildirimler çalışır.\n\n```\nwappa-notifications  →  POST /push-tokens   →  Wappa panel (token kaydı)\nWappa panel \"Bildirim Gönder\"  →  Expo Push API  →  kullanıcının telefonu\n```\n\n---\n\n## Kurulum\n\n```bash\nnpm install wappa-notifications\n# peer bağımlılıklar (Expo projelerinde genelde zaten vardır):\nnpx expo install expo-notifications expo-device @react-native-async-storage/async-storage\n```\n\n> Paket; `expo-notifications`, `expo-device`, `@react-native-async-storage/async-storage`,\n> `react` ve `react-native` paketlerini **peer dependency** olarak kullanır. Bunlar\n> uygulamanızda zaten kuruludur. `expo-constants` opsiyoneldir (EAS projectId otomatik bulunur).\n\n---\n\n## 1. Tek env değişkeni\n\nProjenin köküne `.env` ekleyin:\n\n```bash\nEXPO_PUBLIC_WAPPA_SITE_KEY=my-site\n```\n\n`my-site` → Wappa panelindeki site/proje anahtarınız.\nBackend URL'i varsayılan olarak hosted panele (`https://wappa-ui-api.appaflytech.com`)\ngider. Kendi sunucunuza bağlanacaksanız ekleyin:\n\n```bash\n# opsiyonel — varsayılan hosted panele bağlanır\nEXPO_PUBLIC_WAPPA_API=https://your-wappa-backend.com\n```\n\n## 2. Tek fonksiyon\n\nProjenin giriş noktasında (örn. `index.js` veya `App.tsx`) **herhangi bir yerde** çağırın:\n\n```ts\nimport { initWappaNotifications } from \"wappa-notifications\";\n\ninitWappaNotifications();\n```\n\nBu kadar. SDK otomatik olarak:\n\n1. Bildirim iznini ister,\n2. Expo push token alır,\n3. token'ı panele kaydeder (`POST /push-tokens`),\n4. ön planda gelen bildirimleri banner olarak gösterir,\n5. Android bildirim kanalını oluşturur.\n\n---\n\n## Kullanım örnekleri\n\n### A) Imperative (giriş dosyasında)\n\n`index.js`:\n\n```js\nimport \"expo-router/entry\";\nimport { initWappaNotifications } from \"wappa-notifications\";\n\ninitWappaNotifications({\n  onTap: ({ notification }) => {\n    // bildirime dokununca yönlendirme\n    console.log(\"Tapped:\", notification.data);\n  },\n});\n```\n\n### B) React hook (root layout)\n\n```tsx\nimport { useWappaNotifications } from \"wappa-notifications\";\n\nexport default function RootLayout() {\n  useWappaNotifications({\n    onReceive: ({ title, body }) => console.log(\"Geldi:\", title, body),\n    onTap: ({ notification }) => router.push(String(notification.data?.screen ?? \"/\")),\n  });\n\n  return <Stack />;\n}\n```\n\n### C) JSX bileşeni\n\n```tsx\nimport { WappaNotifications } from \"wappa-notifications\";\n\n<WappaNotifications\n  siteKey=\"my-site\"\n  onTap={({ notification }) => handle(notification)}\n/>;\n```\n\n### Çıkışta token'ı sil\n\n```ts\nimport { unregisterWappaNotifications } from \"wappa-notifications\";\n\nasync function logout() {\n  await unregisterWappaNotifications();\n  // ... oturum kapatma\n}\n```\n\n### Kullanıcıya özel bildirim\n\nGiriş yapan kullanıcının id'sini geçerseniz panel `user:<id>` hedefiyle ona özel\nbildirim gönderebilir:\n\n```ts\ninitWappaNotifications({ publicUserId: currentUser.id });\n```\n\n---\n\n## API\n\n### `initWappaNotifications(config?) => Promise<WappaNotificationsController>`\n\nTüm alanlar opsiyoneldir:\n\n| Alan | Tip | Varsayılan | Açıklama |\n| --- | --- | --- | --- |\n| `siteKey` | `string` | `EXPO_PUBLIC_WAPPA_SITE_KEY` | Panel site/proje anahtarı |\n| `apiUrl` | `string` | `EXPO_PUBLIC_WAPPA_API` ya da hosted | Backend URL |\n| `projectId` | `string` | `expo-constants`'tan otomatik | EAS project id |\n| `publicUserId` | `string` | — | Kullanıcı bazlı hedefleme |\n| `requestPermission` | `boolean` | `true` | İzin diyalogunu göster |\n| `sound` | `boolean` | `true` | Ön planda ses çal |\n| `androidChannel` | `object \\| false` | `{ id:\"default\", name:\"Bildirimler\", importance:4 }` | Android kanalı |\n| `onReceive` | `(payload) => void` | — | Ön planda bildirim geldiğinde |\n| `onTap` | `(payload) => void` | — | Bildirime dokunulduğunda |\n| `onError` | `(error) => void` | — | Kayıt/ağ hatası |\n\nDönen `controller`: `{ token, unregister(), remove() }`.\n\n### `unregisterWappaNotifications(config?) => Promise<void>`\nCihaz token'ını panelden siler (çıkışta).\n\n### `useWappaNotifications(config?)` / `<WappaNotifications {...config} />`\nAynı yapılandırmayı React hook / bileşen olarak sunar; unmount'ta listener'ları temizler.\n\n### `getWappaPushToken() => string | null`\nEn son kaydedilen Expo push token.\n\n---\n\n## Paneli'den bildirim gönderme\n\nToken kaydedildikten sonra Wappa admin panelindeki **Mobil Bildirimler** ekranından:\n\n- **Herkese**, **Site bazlı** (`site:my-site`) veya **Kullanıcı bazlı** (`user:<id>`) hedefleyin,\n- Başlık + mesaj + opsiyonel `data` (JSON) girin,\n- Gönder.\n\nPanel arka planda Expo Push API'ye iletir.\n\n---\n\n## Notlar\n\n- Push bildirimleri yalnızca **fiziksel cihazlarda** çalışır (simülatörde token alınmaz).\n- iOS'ta gönderim için EAS / APNs yapılandırması gerekir (Expo standart akışı).\n- `siteKey` panelde tanımlı olmalıdır.\n- SDK hiçbir zaman exception fırlatmaz; hatalar `onError` ile bildirilir, bildirimler\n  uygulamanızın akışını bozmaz.\n\n## Lisans\n\nMIT\n","readmeFilename":"README.md"}