forked from microg/GmsCore
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental support for in app billing
Co-Authored-by: DaVinci9196 <[email protected]>
- Loading branch information
1 parent
5528a0f
commit d4d7713
Showing
84 changed files
with
7,432 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 23 additions & 8 deletions
31
play-services-core/src/main/res/xml/preferences_vending.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
~ SPDX-FileCopyrightText: 2023, e Foundation | ||
~ SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<SwitchPreferenceCompat | ||
android:title="@string/pref_vending_licensing_enable_switch" | ||
android:key="vending_licensing" | ||
android:persistent="false" /> | ||
<PreferenceCategory android:title="@string/pref_vending_licensing_category"> | ||
<org.microg.gms.ui.TextPreference | ||
android:selectable="false" | ||
android:summary="@string/pref_vending_license_enable_summary" /> | ||
<SwitchPreferenceCompat | ||
android:title="@string/pref_vending_licensing_enable_switch" | ||
android:key="vending_licensing" | ||
android:persistent="false" /> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory android:layout="@layout/preference_category_no_label"> | ||
<PreferenceCategory android:title="@string/pref_vending_billing_category"> | ||
<org.microg.gms.ui.TextPreference | ||
android:selectable="false" | ||
android:summary="@string/pref_vending_billing_enable_summary" /> | ||
<SwitchPreferenceCompat | ||
android:title="@string/pref_vending_billing_enable_switch" | ||
android:key="vending_iap" | ||
android:persistent="false" /> | ||
<org.microg.gms.ui.TextPreference | ||
android:icon="@drawable/ic_circle_warn" | ||
android:selectable="false" | ||
android:summary="@string/pref_vending_billing_note_experimental" /> | ||
<org.microg.gms.ui.TextPreference | ||
android:icon="@drawable/ic_info_outline" | ||
android:selectable="false" | ||
android:summary="@string/pref_vending_license_enable_summary" /> | ||
android:summary="@string/pref_vending_billing_note_licensing" /> | ||
</PreferenceCategory> | ||
</PreferenceScreen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.