How to handle platform differences | Universal App tutorial #8

Опубликовано: 04 Январь 2026
на канале: Expo
6,794
104

In this video you will learn how to handle platform differences to be able to have the same functionality across web, iOS, and Android platforms. We will be using dom-to-image, which is a library that allows us to save the image or this screenshot to the computer. This is chapter eight in our Universal App tutorial series.

Reference links:
dom-to-image: https://github.com/tsayen/dom-to-image
React Native Platform: https://reactnative.dev/docs/platform


⌚️ Timestamps ⌚️
00:00 Intro
00:27 Install and import dom-to-image
01:10 Add platform-specific code
03:10 Summary


Part 1: Create your first app: https://docs.expo.dev/tutorial/create...
Part 2: Add navigation: https://docs.expo.dev/tutorial/add-na...
Part 3: Build a screen: https://docs.expo.dev/tutorial/build-...
Part 4: Use an image picker: https://docs.expo.dev/tutorial/image-...
Part 5: Create a modal: https://docs.expo.dev/tutorial/create...
Part 6: Add gestures: https://docs.expo.dev/tutorial/gestures/
Part 7: Take a screen shot: https://docs.expo.dev/tutorial/screen...
Part 8: Handle platform differences: https://docs.expo.dev/tutorial/platfo...
Part 9: Configure the status bar: https://docs.expo.dev/tutorial/config...

#ExpoApps #Expo #reactnative #reactnativetutorial #ExpoRouter