Commit 01a202f8535961ab7d8f0dbe982cf7dc61f1478b
Exists in
master
Merge branch 'master' of http://git.letsgame.mobi/document/gumptech-document.git
Showing 1 changed file Side-by-side Diff
doc/AndroidDocument.md
... | ... | @@ -65,26 +65,7 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
65 | 65 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
66 | 66 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
67 | 67 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> |
68 | - <!-- upay --> | |
69 | - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | |
70 | - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | |
71 | - <uses-permission android:name="android.permission.VIBRATE" /> | |
72 | - <uses-permission android:name="android.permission.SEND_SMS" /> | |
73 | - <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> | |
74 | - <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> | |
75 | - <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
76 | - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
77 | - <!-- for card.io card scanning --> | |
78 | - <uses-permission android:name="android.permission.CAMERA" /> | |
79 | - <uses-permission android:name="android.permission.VIBRATE" /> | |
80 | - <uses-permission android:name="android.permission.SEND_SMS" /> | |
81 | - <!--coda--> | |
82 | - <uses-permission android:name="android.permission.RECEIVE_SMS" /> | |
83 | - <uses-permission android:name="android.permission.READ_SMS" /> | |
84 | - <uses-permission android:name="android.permission.WRITE_SMS" /> | |
85 | - <uses-permission android:name="android.permission.GET_TASKS" /> | |
86 | - <uses-feature android:name="android.hardware.camera" android:required="false" /> | |
87 | - <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> | |
68 | + | |
88 | 69 | <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. --> |
89 | 70 | <uses-permission android:name="com.android.vending.BILLING" /> |
90 | 71 | |
... | ... | @@ -111,51 +92,7 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
111 | 92 | </activity> |
112 | 93 | <service android:name="com.gumptech.sdk.PushService" > |
113 | 94 | </service> |
114 | - <!-- paypal --> | |
115 | - <service | |
116 | - android:name="com.paypal.android.sdk.payments.PayPalService" | |
117 | - android:exported="false" /> | |
118 | - | |
119 | - <activity android:name="com.paypal.android.sdk.payments.PaymentActivity" /> | |
120 | - <activity android:name="com.paypal.android.sdk.payments.LoginActivity" /> | |
121 | - <activity android:name="com.paypal.android.sdk.payments.PaymentMethodActivity" /> | |
122 | - <activity android:name="com.paypal.android.sdk.payments.PaymentConfirmActivity" /> | |
123 | - <activity android:name="com.paypal.android.sdk.payments.PayPalFuturePaymentActivity" /> | |
124 | - <activity android:name="com.paypal.android.sdk.payments.FuturePaymentConsentActivity" /> | |
125 | - <activity android:name="com.paypal.android.sdk.payments.FuturePaymentInfoActivity" /> | |
126 | - <activity | |
127 | - android:name="io.card.payment.CardIOActivity" | |
128 | - android:configChanges="keyboardHidden|orientation" /> | |
129 | - <activity android:name="io.card.payment.DataEntryActivity" /> | |
130 | - <activity | |
131 | - android:name="com.android.easy2pay.Easy2PayScreen" | |
132 | - android:theme="@android:style/Theme.Translucent.NoTitleBar" /> | |
133 | - <activity | |
134 | - android:name="com.codapayments.sdk.pay.CodaWeb" | |
135 | - android:alwaysRetainTaskState="true" | |
136 | - android:configChanges="orientation|screenSize" | |
137 | - android:screenOrientation="unspecified" > | |
138 | - </activity> | |
139 | - | |
140 | - <receiver | |
141 | - android:name="com.codapayments.sdk.message.PendingTxnReceiver" | |
142 | - android:enabled="true" > | |
143 | - </receiver> | |
144 | - <!-- upay --> | |
145 | - <activity | |
146 | - android:name="com.upay.billing.UpayActivity" | |
147 | - android:configChanges="orientation|keyboardHidden|screenSize" | |
148 | - android:theme="@android:style/Theme.Translucent" /> | |
149 | - <activity | |
150 | - android:name="com.upay.billing.engine.ais.AisActivity" | |
151 | - android:configChanges="orientation|keyboardHidden|screenSize" | |
152 | - android:theme="@android:style/Theme.Translucent" /> | |
153 | - | |
154 | - <service android:name="com.upay.billing.sdk.LocalService" > | |
155 | - <intent-filter> | |
156 | - <action android:name="yourPackageName.LocalService" /> | |
157 | - </intent-filter> | |
158 | - </service> | |
95 | + | |
159 | 96 | |
160 | 97 | #### 2、 向Gump平台索要游戏ID(GID),完成代码接入 |
161 | 98 | 1.调用GumpSDK前需要执行初始化。 |
... | ... | @@ -227,12 +164,7 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
227 | 164 | -keep class com.gumptech.sdk.GumpPreference{ |
228 | 165 | public static final <fields>; |
229 | 166 | } |
230 | - -keep class com.upay.billing.** { *; } | |
231 | - -dontwarn com.upay.billing.** | |
232 | 167 | |
233 | - -keepattributes Signature | |
234 | - -keep class com.upay.billing.** { *; } | |
235 | - -dontwarn com.upay.billing.** | |
236 | 168 | 使得混淆的时候不会影响SDK的命名空间。 |
237 | 169 | ### 问题2:后台已经配置ok的情况下,支付列表仍然为空或登录总是出错? |
238 | 170 | 解答:sdk在debug模式下使用的默认服务器地址是开发环境地址,此地址区别于正式环境地址,为开发调试用;若进行线上调试或正式环境测试,需要使用release模式来进行! |