useNotificationIntent
Platforms:✓ Expo
Detect whether the user clicked a notification to open/activate the app.
import { useNotificationIntent } from '@healthblocks-io/native/push'
function App() {
const nav = useNavigation()
useNotificationIntent(([screen, params]) => nav.push(screen, params))
}