Skip to content

Commit 8d4082c

Browse files
committed
inappupdates v3.0.1
1 parent 49d1e74 commit 8d4082c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+154
-207
lines changed

docs/inappupdates/_includes/add-manual-appdescriptor.mdx

Lines changed: 9 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following should be added to your `extensions` node in your application desc
1010
<extensionID>androidx.core</extensionID>
1111
<extensionID>com.distriqt.Core</extensionID>
1212
<extensionID>com.distriqt.playservices.Base</extensionID>
13-
<extensionID>com.google.android.play</extensionID>
13+
<extensionID>com.google.android.play.appupdate</extensionID>
1414
<extensionID>com.jetbrains.kotlin</extensionID>
1515
</extensions>
1616
```
@@ -22,78 +22,17 @@ The following should be added to your `extensions` node in your application desc
2222

2323
The InAppUpdates extension requires a few additions to the manifest to be able to start certain activities. You should add the listing below to your manifest.
2424

25-
:::caution
26-
Ensure you replace:
27-
- `APPLICATION_PACKAGE` with your AIR application's Java package name, something like `air.com.distriqt.test`. Generally this is your AIR application id prefixed by `air.` unless you have specified no air flair in your build options.
28-
:::
29-
3025

3126
```xml
3227
<manifest android:installLocation="auto">
33-
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="33" />
34-
<permission
35-
android:name="APPLICATION_PACKAGE.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
36-
android:protectionLevel="signature" />
37-
<uses-permission
38-
android:name="APPLICATION_PACKAGE.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" />
39-
<!-- Permission will be merged into the manifest of the hosting app. -->
40-
<!-- Is required to launch foreground extraction service for targetSdkVersion 28+. -->
41-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
42-
<!-- Required permission for App measurement to run. -->
43-
<uses-permission android:name="android.permission.INTERNET" />
44-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
45-
<uses-permission android:name="android.permission.WAKE_LOCK" />
46-
<uses-permission
47-
android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" />
48-
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
49-
<!-- Required by older versions of Google Play services to create IID tokens -->
50-
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
51-
52-
53-
<application android:appComponentFactory="androidx.core.app.CoreComponentFactory">
54-
<meta-data android:name="android.max_aspect" android:value="2.5" />
55-
<meta-data android:name="android.notch_support" android:value="true" />
56-
<provider android:name="androidx.startup.InitializationProvider"
57-
android:authorities="APPLICATION_PACKAGE.androidx-startup"
58-
android:exported="false">
59-
<meta-data android:name="androidx.lifecycle.ProcessLifecycleInitializer"
60-
android:value="androidx.startup" />
61-
</provider>
62-
<!-- The activities will be merged into the manifest of the hosting app. -->
63-
<activity
64-
android:name="com.google.android.play.core.missingsplits.PlayCoreMissingSplitsActivity"
65-
android:enabled="false" android:exported="false" android:launchMode="singleInstance"
66-
android:process=":playcore_missing_splits_activity" android:stateNotNeeded="true" />
67-
<activity android:name="com.google.android.play.core.common.PlayCoreDialogWrapperActivity"
68-
android:exported="false" android:stateNotNeeded="true"
69-
android:theme="@style/Theme.PlayCore.Transparent" />
70-
<!-- The services will be merged into the manifest of the hosting app. -->
71-
<service android:name="com.google.android.play.core.assetpacks.AssetPackExtractionService"
72-
android:enabled="false" android:exported="true">
73-
<meta-data android:name="com.google.android.play.core.assetpacks.versionCode"
74-
android:value="11003" />
75-
</service>
76-
<service android:name="com.google.android.play.core.assetpacks.ExtractionForegroundService"
77-
android:enabled="false" android:exported="false" />
78-
<receiver android:name="com.google.android.gms.measurement.AppMeasurementReceiver"
79-
android:enabled="true" android:exported="false" />
80-
<service android:name="com.google.android.gms.measurement.AppMeasurementService"
81-
android:enabled="true" android:exported="false" />
82-
<service android:name="com.google.android.gms.measurement.AppMeasurementJobService"
83-
android:enabled="true" android:exported="false"
84-
android:permission="android.permission.BIND_JOB_SERVICE" />
85-
<meta-data android:name="com.google.android.gms.version"
86-
android:value="@integer/google_play_services_version" />
87-
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
88-
android:exported="false" android:theme="@android:style/Theme.Translucent.NoTitleBar" />
89-
<service android:name="com.google.firebase.components.ComponentDiscoveryService"
90-
android:exported="false">
91-
<meta-data
92-
android:name="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar"
93-
android:value="com.google.firebase.components.ComponentRegistrar" />
94-
</service>
95-
<activity android:name="com.distriqt.core.auth.AuthorisationActivity" android:exported="false"
96-
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
28+
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="34"/>
29+
<uses-permission android:name="android.permission.INTERNET"/>
30+
31+
<application>
32+
<meta-data android:name="android.max_aspect" android:value="2.5"/>
33+
<meta-data android:name="android.notch_support" android:value="true"/>
34+
35+
<activity android:name="com.distriqt.core.auth.AuthorisationActivity" android:exported="false" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
9736
</application>
9837

9938
</manifest>

docs/inappupdates/_includes/add-manual.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ will avoid conflicts, allowing you to use multiple ANEs in the one application.
5353
This ANE requires the following Google Play Services:
5454

5555
- [`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)
56+
- [`com.google.android.play.appupdate`](https://github.com/airnativeextensions/ANE-GooglePlay/raw/refs/heads/main/lib/com.google.android.play.appupdate.ane)
5757

5858
You must include the above native extensions in your application along with this extension,
5959
and you need to ensure they are packaged with your application.
6060

61-
You can access the Google Play Services client library extensions here: [https://github.com/distriqt/ANE-GooglePlayServices](https://github.com/distriqt/ANE-GooglePlayServices).
61+
You can access the repositories for these client library extensions here:
62+
- [Google Play Services](https://github.com/distriqt/ANE-GooglePlayServices).
63+
- [Google Play](https://github.com/airnativeextensions/ANE-GooglePlay)
6264

6365

docs/inappupdates/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 2025.03.26 [v3.0.1]
2+
3+
```
4+
fix(docs): update manual integration docs to reflect new gradle dependency requirements (resolves https://github.com/airnativeextensions/ANE-InAppUpdates/issues/1)
5+
```
6+
17
### 2024.12.19 [v3.0.0]
28

39
```

static/asdocs/inappupdates/all-classes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html>
22
<head>
33
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4-
<title>All Classes - distriqt // InAppUpdates</title>
4+
<title>All Classes - InAppUpdates</title>
55
<base target="classFrame">
66
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
77
<link rel="stylesheet" href="print.css" type="text/css" media="print">
@@ -43,4 +43,4 @@ <h3><a href="class-summary.html" target="classFrame" style="color:black">All Cla
4343
</table>
4444
</body>
4545
</html>
46-
<!--Copyright distriqt 2016<br/>Thu Dec 19 2024, 05:46 PM +10:00 -->
46+
<!--Copyright Michael Archbold 2025<br/>Wed Mar 26 2025, 01:33 PM +10:00 -->

0 commit comments

Comments
 (0)