|
| 1 | + |
| 2 | +:::info |
| 3 | +The following guide is used to manually install the extension, download dependencies and update the application descriptor. We highly recommend installing extensions using `apm`. Using `apm` will automate the installation and automatically handle updates and dependencies along with greatly simplifying the application descriptor generation. |
| 4 | +::: |
| 5 | + |
| 6 | + |
| 7 | +To add the extension to your development environment. Download the `com.distriqt.InAppBilling.Samsung.ane` extension from the repository and then follow the tutorial located [here](/docs/tutorials/getting-started) to add the extension to your development environment. |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +### Dependencies |
| 12 | + |
| 13 | +Many of our extensions use some common libraries, for example, the Android Support libraries. |
| 14 | + |
| 15 | +We have to separate these libraries into separate extensions in order to avoid multiple versions of the libraries being included in your application and causing packaging conflicts. This means that you need to include some additional extensions in your application along with the main extension file. |
| 16 | + |
| 17 | +You will add these extensions as you do with any other extension, and you need to ensure it is packaged with your application. |
| 18 | + |
| 19 | + |
| 20 | +#### Core ANE |
| 21 | + |
| 22 | +The Core ANE is required by this ANE. You must include and package this extension in your application. |
| 23 | + |
| 24 | +The Core ANE doesn't provide any functionality in itself but provides support libraries and frameworks used by our extensions. |
| 25 | +It also includes some centralised code for some common actions that can cause issues if they are implemented in each individual extension. |
| 26 | + |
| 27 | +You can access this extension here: [https://github.com/distriqt/ANE-Core](https://github.com/distriqt/ANE-Core). |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +### Android Support |
| 32 | + |
| 33 | +The Android Support libraries encompass the Android Support, Android X and common Google libraries. |
| 34 | + |
| 35 | +These libraries are specific to Android. There are no issues including these on all platforms, they are just **required** for Android. |
| 36 | + |
| 37 | +This extension requires the following extensions: |
| 38 | + |
| 39 | +- [com.jetbrains.kotlin](https://github.com/distriqt/ANE-AndroidSupport/raw/master/lib/com.jetbrains.kotlin.ane) |
| 40 | + |
| 41 | +You can access these extensions here: [https://github.com/distriqt/ANE-AndroidSupport](https://github.com/distriqt/ANE-AndroidSupport). |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +#### Google Play Services |
| 46 | + |
| 47 | +This ANE requires usage of certain aspects of the Google Play Services client library. |
| 48 | +The client library is available as a series of ANEs that you add into your applications packaging options. |
| 49 | +Each separate ANE provides a component from the Play Services client library and are used by different ANEs. |
| 50 | +These client libraries aren't packaged with this ANE as they are used by multiple ANEs and separating them |
| 51 | +will avoid conflicts, allowing you to use multiple ANEs in the one application. |
| 52 | + |
| 53 | +This ANE requires the following Google Play Services: |
| 54 | + |
| 55 | +- [`com.distriqt.playservices.Base`](https://github.com/distriqt/ANE-GooglePlayServices/raw/master/lib/com.distriqt.playservices.Base.ane) |
| 56 | +- [`com.google.android.play`](https://github.com/distriqt/ANE-GooglePlayServices/raw/master/lib/com.google.android.play.ane) |
| 57 | + |
| 58 | +You must include the above native extensions in your application along with this extension, |
| 59 | +and you need to ensure they are packaged with your application. |
| 60 | + |
| 61 | +You can access the Google Play Services client library extensions here: [https://github.com/distriqt/ANE-GooglePlayServices](https://github.com/distriqt/ANE-GooglePlayServices). |
0 commit comments