Skip to content

add iap permission #2930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions vending-app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="com.google.android.gms.auth.permission.GOOGLE_ACCOUNT_CHANGE"/>

<permission
android:description="@string/billing_permission_desc"
android:label="@string/billing_permission_label"
android:name="com.android.vending.BILLING"
android:protectionLevel="instant|normal"/>

<uses-permission
android:name="android.permission.USE_CREDENTIALS"
android:maxSdkVersion="22" />
Expand Down
2 changes: 2 additions & 0 deletions vending-app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@
<string name="vending_overview_enterprise_row_mandatory_missing_hint">你的设备缺少由你的管理员选择的强制应用。</string>
<string name="vending_overview_enterprise_no_apps_available">你的管理员尚未提供应用。</string>
<string name="vending_overview_row_installed">已安装的应用</string>
<string name="billing_permission_desc">允许用户通过 Google Play 在此应用内购买商品。</string>
<string name="billing_permission_label">Google Play 结算服务</string>
</resources>
2 changes: 2 additions & 0 deletions vending-app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@
<string name="toast_not_installed">microG Companion 無法單獨使用,請安裝 microG Services 以使用 microG 。</string>
<string name="download_notification_attachment_file">%s 的附加元件</string>
<string name="download_notification_tips">下載中</string>
<string name="billing_permission_desc">允許使用者透過 Google Play 在此應用程式內購買商品。</string>
<string name="billing_permission_label">Google Play 結帳服務</string>
</resources>
2 changes: 2 additions & 0 deletions vending-app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@
<string name="installer_notification_progress_splitinstall_commiting">Installing required components for %s</string>
<string name="download_notification_attachment_file">Additional files for %s</string>
<string name="download_notification_tips">Downloading</string>
<string name="billing_permission_desc">Allows the user to purchase items through Google Play from within this app.</string>
<string name="billing_permission_label">Google Play billing service</string>

</resources>