Problems testing APK expansion library

后端 未结 4 768
庸人自扰
庸人自扰 2021-01-02 05:57

I\'ve integrated the APK Expansion file download library from Google into my project, and it works more or less OK (except a few minor gotchas, which have been reported by o

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-02 06:46

    There are two standard ways to get the expansion files.(you can take it as assumption).

    1. Assume you don't have expansion file at the beginning when your application starts.
    2. Check if the file is present in the obvious locationor not.

    This way your app will behave as usual. The best part of this approach is you have an option to place a request to download the files.

    these are the notes from developer site.

    Note: The URL that Google Play provides for your expansion files is unique for every download and each one expires shortly after it is given to your application.

    Note: Whether your application is free or not, Google Play returns the expansion file URLs only if the user acquired your application from Google Play.

    Here is how to use
    Here is how to place download request

    Hope this will help you to get the result.

提交回复
热议问题