question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LinkingIOS and IntentAndroid are deprecated in favor of Linking

See original GitHub issue

In React Native 0.20 I receive the following warnings.

Warning: "IntentAndroid.canOpenURL" is deprecated. Use the promise based "Linking.canOpenURL" instead.

Warning: "IntentAndroid.openURL" is deprecated. Use the promise based "Linking.canOpenURL" instead.

Looks like IntentAndroid and LinkingIOS are both being deprecated

In favor of Linking

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anarchicknightcommented, Mar 6, 2016

Things have been hectic recently. Im expecting to have time to do this update within the next week.

If anyone submits a PR in the meantime I will take a look as soon as possible too

0reactions
anarchicknightcommented, Mar 12, 2016

1.0.1 has now been published using the new Linking module.

@skleest can you try running with the new version and see if you can still replicate your issue?

If you can please open a new issue and provide as many details as possible.

Closing this issue off

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-fs fails to autolink or manually link to Windows ...
warn Calling react-native link [packageName] is deprecated in favor of autolinking. It will be removed in the next major release.
Read more >
linker - react-native android LinkingIOS - Stack Overflow
The documentation says LinkingIOS is being deprecated. Use Linking instead. Yet there is nothing else about that and all references are to ...
Read more >
Linking - React Native
Linking gives you a general interface to interact with both incoming and outgoing app links.
Read more >
Linking - Expo Documentation
expo-linking provides utilities for your app to interact with other installed ... This method is deprecated and will be removed in a future...
Read more >
React Native v0.37.0-rc.0 released
Remove deprecated APIs and modules (fa5ad85) - @satya164. Removed. Alternative ... IntentAndroid , LinkingIOS. Linking. SliderIOS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found