Back to Trending
RepositoryJava
OB

oblador/react-native-store-review

Rate on App/Play Store directly in your React Native app

780stars
58forks
2issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: rating

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: playstore

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: appstore

#1 Repository Của Tuần

📱 Đánh giá trong app với native API của React Native

Gọi StoreReview.requestReview() — Apple và Google sẽ tự hiển thị dialog đánh giá, không cần tự build UI.

react-native-store-review của oblador là một bridge module đơn giản, phơi bày native APIs SKStoreReviewController (iOS) và In-App Review API (Google Play) để prompt người dùng đánh giá app ngay trong ứng dụng. Hỗ trợ iOS >= 14.0 và Android 5.0 trở lên.

✨ Điểm nổi bật

  • Một dòng gọi API: StoreReview.requestReview() xử lý toàn bộ việc hiển thị dialog đánh giá native trên cả iOS và Android
  • Native integration: Dựa trên SKStoreReviewController của Apple và In-App Review API của Google Play — không dùng webview hay redirect thủ công cho flow chính
  • Fallback qua Linking: Hỗ trợ redirect người dùng đến App Store/Play Store bằng itms-apps:// và market:// khi cần hoặc cho các OS không hỗ trợ
  • Platform.select tích hợp: Dễ dàng chọn link đúng nền tảng qua Platform.select({ ios: ..., android: ... })
  • Zero UI tự xây: Dialog hiển thị hoàn toàn do hệ điều hành quản lý, đảm bảo nhất quán với hệ thống
  • Hỗ trợ localization: Chuỗi trong dialog lấy từ OS, cần cấu hình metadata trên Xcode cho iOS để hiển thị đúng ngôn ngữ

💡 Vì sao đáng chú ý

Apple và Google đều cung cấp native in-app review API, nhưng tích hợp trực tiếp đòi hỏi viết Swift/Kotlin riêng cho mỗi nền tảng. Module này đóng gói thành một JS call duy nhất, giảm đáng kể boilerplate cho React Native app. Lưu ý quan trọng: dialog không phải lúc nào cũng hiển thị (Apple/Google giới hạn tần suất gọi, và không hoạt động trên TestFlight hay enterprise build), nên gọi requestReview() như một side effect khi người dùng hoàn thành tác vụ thay vì gắn vào nút bấm.

Cần cấu hình LSApplicationQueriesSchemes với itms-apps trong Info.plist trên iOS để dialog hoạt động đúng. Với team đã dùng React Native, đây là cách nhanh nhất để thêm tính năng đánh giá app mà không viết code native riêng.


#ReactNative #AppStore #PlayStore #InAppReview #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
react/react-native

A framework for building native applications using React

126.8k
Oct 26, 2026
RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

180.4k
Oct 26, 2026
RepositoryDart
Solido/awesome-flutter

An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.

61.7k
Sep 3, 2026
RepositoryTypeScript
laurent22/joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.

56.9k
Oct 26, 2026
Repository
google/material-design-icons

Material Design icons by Google (Material Symbols)

54.2k
Oct 23, 2026
RepositoryTypeScript
expo/expo

An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.

53.1k
Oct 27, 2026
RepositoryJava
onyxbits/raccoon4

APK Downloader for Google Play

758
Feb 3, 2024
Repository
dkhamsing/open-source-ios-apps

:iphone: Collaborative List of Open-Source iOS Apps

52.8k
Oct 25, 2026
RepositoryRuby
fastlane/fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps

42.3k
Oct 27, 2026