Join Samer Buna for an in-depth discussion in this video Opening URLs, part of React Native Essential Training.
- [Instructor] The last feature we should add to this app…is probably the most important feature,…a call to action.…A button to purchase a deal.…We can do that either through the App Store itself…or with a simple web checkout.…Payments made through the App Stores…have some significant fees,…and since this is a pay for goods system,…we'll just simply take the user to the web checkout screen.…The API for every deal actually has a URL that we can use.…This is the same deal page but on the main website,…and that page has a checkout button.…
So all we need to do is just include a button…that takes the user to this URL.…We can use the Linking library that comes with…React Native to do so.…This library can actually be used for both…incoming and outgoing app links,…but we need it for just an outgoing link.…The syntax in simple.…We just need to call the openURL API method.…Let's do that.…I'll include the button to buy a deal…right here under the description.…So we need the button component from React Native,…and in the render method of this component,…
- Hello React Native on iOS and Android
- Styling React Native components
- Platform APIs
- Building a simple game app and a data-driven app
- Using the Fetch API
- Creating an animation loop
- Testing on Android
- Changing an app logo and a splash screen
- Using TestFlight with internal testers
Skill Level Intermediate
1. Getting Started
2. React Native Fundamentals
Hello React Native on iOS5m 42s
3. Building a Simple Game App
4. Building a Data-driven App
5. Animation and Gesture Control
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.