Android恢复购买 app恢复购买_Android恢复购买


android 混淆还原


Android恢复购买 app恢复购买_游戏_02


Any purchase you make within an app–rather than in Google Play itself–is an in-app purchase. Google Play tracks these in-app purchases. Some are permanent and can be recovered on a new device, but others are used up after you buy them.

您在应用内而不是Google Play内进行的任何购买都是应用内购买 。 Google Play会跟踪这些应用内购买。 有些是永久性的,可以在新设备上恢复,但其他一些在您购买后就用光了。

This only applies to purchases you make within apps. To restore a purchased app, just visit Google Play and reinstall it. if you’ve already purchased the app with your current Google account, you’ll be able to redownload it on each app you use.

这仅适用于您在应用内进行的购买。 要还原购买的应用,只需访问Google Play并重新安装即可。 如果您已经使用当前的Google帐户购买了该应用程序,则可以在使用的每个应用程序上重新下载该应用程序。

(Consumable vs. Non-consumable Purchases)

All in-app purchases on Android are tracked by Google Play. When you purchase an in-app purchase from Google Play, Google Play makes a note that you now “own” the in-app purchase. However, some of these managed purchases are “consumable.” When an app consumes an in-app purchase, Google Play marks that in-app purchase as “unowned.”

Google Play跟踪 Android上的所有应用内购买。 当您从Google Play购买应用内购买商品时,Google Play会记录您现在“拥有”应用内购买商品。 但是,其中一些托管购买是“消耗品”。 当应用消费应用内购买时,Google Play将该应用内购买标记为“无主”。

A consumable in-app purchase might be an amount of in-game currency, extra lives, or any sort of credit that can be “used up”.

消耗性的应用内购买可能是一定数量的游戏货币,额外的生命或任何可以“用完”的信用。

A non-consumable in-app purchase doesn’t get used up. It could be a full version unlock, a “remove ads” purchase, or a level you can purchase in a game and play as many times as you like. Basically, non-consumable includes anything you get permanent access to.

应用程式内的非消费不会耗尽。 它可以是完整版解锁,“移除广告”购买,也可以是您可以在游戏中购买的关卡,并且可以玩多次。 基本上,非消耗性物品包括您可以永久访问的任何物品。

In the past, there were “managed” purchases and “unmanaged” purchases. Managed purchases were managed by Google Play and were permanent, while unmanaged purchases weren’t tracked by Google Play at all. All purchases are now managed by Google Play, but some can be consumable. For example, if you purchase 100 coins in a game, Google Play makes a note that you “own” that 100 coin purchase. The game then checks and sees you own that purchase, gives you 100 coins in the game, and marks the 100 coin in-app purchase as “unowned.” You can then buy another pack of 100 coins, if you like.

过去,有“托管”购买和“非托管”购买。 托管购买由Google Play进行管理,并且是永久性的,而Google Play根本无法跟踪非托管购买。 现在,所有购买都由Google Play管理,但有些可以消费。 例如,如果您在游戏中购买了100个硬币,则Google Play会记下您“拥有”该100个硬币的购买。 然后,游戏会检查并确认您拥有该购买,在游戏中给您100枚硬币,并将这100枚硬币在应用程序内购买标记为“未拥有”。 然后,您可以根据需要购买另一包100个硬币。


Android恢复购买 app恢复购买_Android恢复购买_03


(How to Restore Non-Consumable Purchases)

In-app purchases that aren’t consumable can be restored. If you reinstall an app, reset your Android device, or get a new Android device, you can regain access to those in-app purchases.

可以恢复非消耗性的应用内购买。 如果您重新安装应用程序,重置Android设备或购买新的Android设备,则可以重新获得对这些应用程序内购买的访问权限。

To do this, ensure you sign into Google Play with the same Google account you used to buy them. Your in-app purchases are tied to your Google account.

为此,请确保您使用购买商品的Google帐户登录到Google Play。 您的应用内购买已与您的Google帐户绑定。

Next, install the app you made the in-app purchase in and launch it. Most Android apps should automatically query Google Play and check for any in-app purchases you’ve made, restoring them for you.

接下来,安装您在应用内购买商品的应用并启动。 大多数Android应用程序应自动查询Google Play并检查您是否进行了应用内购买,并为您恢复了这些应用。

This works differently from restoring purchases on Apple’s iOS, where you have to manually restore in-app purchases by tapping a button and entering your Apple ID password. Apps can automatically restore purchases in the background at any time without requesting a password.

这与在Apple iOS上恢复购买不同,后者必须通过点击按钮并输入Apple ID密码来手动恢复应用内购买。 应用程序可以随时在后台自动恢复购买,而无需输入密码。

However, some apps may not immediately restore your purchases. You may have to wait several minutes for them to check. Some apps may include a “Restore Purchases” button or similarly named option on their main screen, in their options menu, or in their in-app store. You may be able to tap such a button to force the app to check Google Play for purchased content. However, most apps don’t offer such a button, as it shouldn’t be necessary.

但是,某些应用程序可能无法立即恢复您的购买。 您可能需要等待几分钟才能检查。 某些应用程序可能在其主屏幕,选项菜单或应用程序内商店中包含“还原购买”按钮或类似名称的选项。 您可能可以点击这样的按钮来强制应用检查Google Play中购买的内容。 但是,大多数应用程序不提供这样的按钮,因为它不是必需的。


Android恢复购买 app恢复购买_数据库_04


(How to Restore Consumable In-App Purchases)

While non-consumable in-app purchases can be easily restored, you may be in trouble if you want to restore a consumable in-app purchase.

虽然可以轻松还原非消耗性应用内购买,但是如果您想恢复消耗性应用内购买,则可能会遇到麻烦。

Each consumable in-app purchase is now a “managed” purchase that Google Play will track for you. However, the app will probably immediately tell Google Play that it’s “consumed” the purchase when it gives you the currency. If you’ve purchased a consumable item but the app hasn’t given it to you yet for some reason, this purchase should automatically restore itself on whatever device you use.

现在,每笔消费性应用内购买都是Google Play会为您跟踪的“托管”购买。 但是,该应用程序可能会立即告诉Google Play,当它为您提供货币时,它“消耗”了购买的商品。 如果您购买了易耗品,但由于某种原因该应用尚未将其提供给您,则该购买应会在您使用的任何设备上自动恢复。

If the app has given you that purchase–the currency, boosters, or extra lives in a game, for example–that data isn’t stored in Google Play, but is kept track of by the app itself. Restoring this data on a new device–or after you reset your device–isn’t guaranteed.

如果应用程序为您提供了购买的商品(例如,货币,增强功能或游戏中的额外收入),则数据不会存储在Google Play中,而是由应用程序本身进行跟踪。 不能保证在新设备上或在重置设备后还原此数据。

Some apps may use Android’s built-in sync feature to sync their save files, which may include your consumable purchases. However, many apps don’t use this, and there’s usually no way to tell if an app will. Other apps may have their own built-in account systems, so you may need to sign into the app with the same account on both devices to regain access to your stuff.

某些应用可能会使用Android的内置同步功能来同步其保存文件,其中可能包括您的消费品购买。 但是,许多应用程序不使用此功能,因此通常无法确定应用程序是否会使用此功能。 其他应用可能具有自己的内置帐户系统,因此您可能需要在两个设备上使用相同的帐户登录该应用才能重新获得对您内容的访问权限。


Android恢复购买 app恢复购买_Android恢复购买_05


Some apps won’t sync their data at all, though. They may store your save data locally on your Android phone or tablet instead. In these cases, Android won’t help you–unless you go out of your way to back up and restore the app’s data.

不过,有些应用程序根本不会同步其数据。 他们可能会将您的保存数据存储在本地的Android手机或平板电脑上。 在这些情况下,除非您竭尽全力备份和还原应用程序的数据,否则Android将无法为您提供帮助。

If your Android device is rooted, you can use Titanium Backup to back up a specific app’s data and then restore it onto another device. You’ll need to be rooted on both devices to do this. This will restore the app’s state, including all the currency, extra lives, and all the stuff you had in the app.

如果您的Android设备是root用户 ,则可以使用Titanium Backup备份特定应用程序的数据,然后将其还原到另一台设备上。 您需要同时扎根于这两种设备上。 这将恢复应用程序的状态,包括所有货币,额外寿命以及您在应用程序中拥有的所有物品。

If you’re not rooted, Android contains a hidden backup-and-restore feature you have to be connected to a desktop computer to use. You could potentially use this feature to back up an app’s consumable in-app-purchase data–along with all the other data on your device–and restore it if you ever need to wipe and setup your Android device again.

如果您不是root用户,则Android包含隐藏的备份和还原功能,您必须将其连接到台式计算机才能使用。 如果您需要再次擦除和设置Android设备,则可以潜在地使用此功能来备份应用程序的消耗性应用程序内购买数据以及设备上的所有其他数据,并还原该数据。



Keep the different kinds of in-app purchases in mind when you buy. Even if you spend hundreds of dollars on in-app currency, some apps may not bother syncing this in any way, and you may lose it when you move to a new device–unless you take drastic measures most people won’t take, like backing up the app’s data with Titanium Backup.

购买时,请牢记各种应用内购买。 即使您花费数百美元购买应用内货币,某些应用也可能不会以任何方式进行同步,并且当您转移到新设备上时,您可能会丢失它-除非您采取大多数人不会采取的严厉措施,例如使用Titanium Backup备份应用程序的数据。

Image Credit: Karlis Dambrans on Flickr

翻译自: https://www.howtogeek.com/243400/how-to-restore-in-app-purchases-on-android/

android 混淆还原