Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

211
Views
How to create floating notification / Head-up with react native expo

i was created local notification without other third party, My expectation is that notifications are like whatsapp message floating and there are actions button,success show notification but not floating/popup notification

floating notification

Notifications.setNotificationChannelAsync('location-reached', {
    name: 'location-reached',
    importance: Notifications.AndroidImportance.MAX,
    vibrationPattern: [0, 250, 250, 250],
    lightColor: '#FF231F7C',
});

Notifications.setNotificationHandler({
    handleNotification: async () => ({
        shouldShowAlert: true,
        shouldPlaySound: true,
        shouldSetBadge: true,
        priority: "high",

    }),
});

export const sendNotification = async (address) => {

    const id = await Notifications.scheduleNotificationAsync( {
        content: {
            title: `Destination will arrive soon`,
            body: address,
            sound: 'default',
            vibrate: true,
        },
        trigger: {
            seconds: 1,
            channelId: 'location-reached'
        },
    });
    console.log("notif id on scheduling", id)
    return id;
}

i was give permission for this notif enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!