Files

8 lines
733 B
Markdown
Raw Permalink Normal View History

2026-09-11 15:55:45 +02:00
# Writing Platform Specific Code
2023-06-27 20:20:04 +01:00
2026-09-11 15:55:45 +02:00
Writing platform-specific code involves using specialized techniques to implement features or UI components that behave differently on iOS and Android. React Native provides tools like the `Platform` module to detect the operating system at runtime and file extensions such as `.ios.js` or `.android.js` to separate implementation files. This approach allows developers to access native APIs unique to a single platform while maintaining a shared codebase for the rest of the application.
2023-06-27 20:20:04 +01:00
2025-04-23 19:39:31 +05:30
Visit the following resources to learn more:
2023-06-27 20:20:04 +01:00
2025-04-23 19:39:31 +05:30
- [@official@Platform-Specific Code](https://reactnative.dev/docs/platform-specific-code)
2025-12-01 12:25:35 +01:00
- [@official@App Extensions](https://reactnative.dev/docs/app-extensions)