Repository navigation
Closed
Labels
API: LinkingBugStaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
React Native version:
All react-native versions
Steps To Reproduce
- Make sure your Android manifests contains the correct NDEF actions
<uses-permission android:name="android.permission.NFC" />
...
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="www.example.com" android:pathPrefix="/some-path/" />
<data android:scheme="https" android:host="example.com" android:pathPrefix="/some-path/" />
<data android:scheme="http" android:host="www.example.com" android:pathPrefix="/some-path/" />
<data android:scheme="http" android:host="example.com" android:pathPrefix="/some-path/" />
<data android:scheme="app" android:host="example" android:pathPrefix="/some-path/" />
<data android:scheme="app" android:host="com.example" android:pathPrefix="/some-path/" />
</intent-filter>
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="www.example.com" android:pathPrefix="/some-path/" />
<data android:scheme="https" android:host="example.com" android:pathPrefix="/some-path/" />
<data android:scheme="http" android:host="www.example.com" android:pathPrefix="/some-path/" />
<data android:scheme="http" android:host="example.com" android:pathPrefix="/some-path/" />
</intent-filter>
- Scan a NFC tag with an URL
- Check if
Linking.addEventListener('url', ({url}) => console.warn('event url': url))gets called
Describe what you expected to happen:
I see a console.warn
Metadata
Metadata
Assignees
Labels
API: LinkingBugStaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Activity
Also listen to NFC actions for linking url events (#26553)
stale commentedon Dec 23, 2019
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
stale commentedon Dec 30, 2019
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.