You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
Hi everyone,
I can't get url data from Link on iOS when I click on the metadata notification like Android (Android works perfectly)
So, how do I get the string "trackplayer://notification.click" like Android? Code To Reproduce
useEffect(() => {
async function deepLinkHandler(data: {url: string | null}) {
if (data.url === 'trackplayer://notification.click') {
//
}
}
const listener = Linking.addEventListener('url', deepLinkHandler);
Linking.getInitialURL().then(url => deepLinkHandler({url}));
return () => {
listener.remove();
};
}, []);
=> nothing happens on callback function of listener
Environment Info:
Paste the exact react-native-track-player version you are using: 4.0.1
Real device
What OS are you running: IOS 17
The text was updated successfully, but these errors were encountered:
Describe the Bug
Hi everyone,
I can't get url data from Link on iOS when I click on the metadata notification like Android (Android works perfectly)
So, how do I get the string "trackplayer://notification.click" like Android?
Code To Reproduce
Environment Info:
Paste the exact
react-native-track-player
version you are using: 4.0.1Real device
What OS are you running: IOS 17
The text was updated successfully, but these errors were encountered: