Leon 1 anno fa
parent
commit
64166b0e8d
4 ha cambiato i file con 25 aggiunte e 0 eliminazioni
  1. 1 0
      android/app/src/main/AndroidManifest.xml
  2. 1 0
      package.json
  3. 11 0
      src/pages/notification/setting.tsx
  4. 12 0
      yarn.lock

+ 1 - 0
android/app/src/main/AndroidManifest.xml

@@ -9,6 +9,7 @@
     <uses-permission android:name="android.permission.VIBRATE" />
     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+    <uses-permission android:name="com.android.vending.BILLING" />
 
     <queries>
       <intent>

+ 1 - 0
package.json

@@ -108,6 +108,7 @@
 		"react-native-onesignal": "^5.1.3",
 		"react-native-pager-view": "~6.0.1",
 		"react-native-permissions": "^4.1.5",
+		"react-native-purchases": "^7.27.4",
 		"react-native-push-notification": "^8.1.1",
 		"react-native-safe-area-context": "~4.4.1",
 		"react-native-screens": "^3.18.2",

+ 11 - 0
src/pages/notification/setting.tsx

@@ -0,0 +1,11 @@
+import { View, Text } from "@tarojs/components";
+import Metric from "@/features/trackSomething/components/Metric";
+import { useDidShow, usePullDownRefresh, useShareAppMessage } from "@tarojs/taro";
+import Tabbar from "@/components/navigation/TabBar";
+import { useTranslation } from "react-i18next";
+
+export default function Page() {
+    const { t } = useTranslation()
+    return <View className="container">
+    </View>
+}

+ 12 - 0
yarn.lock

@@ -3823,6 +3823,11 @@
     redux-thunk "^2.4.2"
     reselect "^4.1.8"
 
+"@revenuecat/purchases-typescript-internal@10.9.0":
+  version "10.9.0"
+  resolved "https://registry.npmmirror.com/@revenuecat/purchases-typescript-internal/-/purchases-typescript-internal-10.9.0.tgz#3a41de0c426525d4b923353bae0f072e9f0c1e24"
+  integrity sha512-cHODQiU/3s1d0/+Weuwt3zsGhF7e7zVWYfog0A/FAt4OkKqX2YRY1VDlTq6eA0FE1nif3/xwrhvfQVlMvUKe3g==
+
 "@rnx-kit/console@^1.0.0":
   version "1.0.12"
   resolved "https://registry.npmmirror.com/@rnx-kit/console/-/console-1.0.12.tgz#997e370afdeee49344663c1ae017ba0b4966a5c9"
@@ -16844,6 +16849,13 @@ react-native-permissions@^4.1.5:
   resolved "https://registry.yarnpkg.com/react-native-permissions/-/react-native-permissions-4.1.5.tgz#db4d1ddbf076570043f4fd4168f54bb6020aec92"
   integrity sha512-r6VMRacASmtRHS+GZ+5HQCp9p9kiE+UU9magHOZCXZLTJitdTuVHWZRrb4v4oqZGU+zAp3mZhTQftuMMv+WLUg==
 
+react-native-purchases@^7.27.4:
+  version "7.27.4"
+  resolved "https://registry.npmmirror.com/react-native-purchases/-/react-native-purchases-7.27.4.tgz#e16c42bf0fae12846031f4e09749c0bca4d0e33d"
+  integrity sha512-EEMO+ltPVPrRe+v/VkdvDZ9TFJ2Wz4+KYJcPggyEPhlh3Ld+bkNfrtbiri/Hczu0PI76DzggON9xAcnv3OCPHw==
+  dependencies:
+    "@revenuecat/purchases-typescript-internal" "10.9.0"
+
 react-native-push-notification@^8.1.1:
   version "8.1.1"
   resolved "https://registry.yarnpkg.com/react-native-push-notification/-/react-native-push-notification-8.1.1.tgz#a41d20c70ea5a7709417e96261b225461f8dc73a"