Skip to content

Commit

Permalink
Fixed deep linking on Android sample, updated com.unity.purchasing
Browse files Browse the repository at this point in the history
  • Loading branch information
oliexe committed Mar 26, 2024
1 parent 7435c62 commit a79cb35
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 11 deletions.
22 changes: 22 additions & 0 deletions Assets/Plugins/Android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.unity3d.player"
xmlns:tools="http://schemas.android.com/tools">
<application>
<activity android:name="com.unity3d.player.UnityPlayerActivity"
android:theme="@style/UnityThemeSelector">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="stashiosdemo" />
</intent-filter>
</activity>
</application>
</manifest>
7 changes: 7 additions & 0 deletions Assets/Plugins/Android/AndroidManifest.xml.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
8 changes: 4 additions & 4 deletions Assets/Samples/Scenes/StashSample.unity
Original file line number Diff line number Diff line change
Expand Up @@ -522,10 +522,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 868708303}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 392.25, y: -15.645}
m_SizeDelta: {x: 784.5, y: 31.29}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &375644528
MonoBehaviour:
Expand Down
2 changes: 1 addition & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.vscode": "1.2.5",
"com.unity.mobile.android-logcat": "1.4.0",
"com.unity.purchasing": "4.9.3",
"com.unity.purchasing": "4.11.0",
"com.unity.services.authentication": "3.3.0",
"com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.6",
Expand Down
5 changes: 2 additions & 3 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,15 @@
"url": "https://packages.unity.com"
},
"com.unity.purchasing": {
"version": "4.9.3",
"version": "4.11.0",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.ugui": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.services.core": "1.8.1"
"com.unity.services.core": "1.8.2"
},
"url": "https://packages.unity.com"
},
Expand Down
2 changes: 2 additions & 0 deletions ProjectSettings/GvhProjectSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
<projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
<projectSetting name="GooglePlayServices.UseJetifier" value="True" />
</projectSettings>
6 changes: 3 additions & 3 deletions ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ PlayerSettings:
iPhone: 1
tvOS: 0
overrideDefaultApplicationIdentifier: 1
AndroidBundleVersionCode: 1
AndroidBundleVersionCode: 3
AndroidMinSdkVersion: 22
AndroidTargetSdkVersion: 0
AndroidTargetSdkVersion: 34
AndroidPreferredInstallLocation: 1
aotOptions:
stripEngineCode: 1
Expand Down Expand Up @@ -251,7 +251,7 @@ PlayerSettings:
clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea
templatePackageId: com.unity.template.3d@8.1.1
templateDefaultScene: Assets/Scenes/SampleScene.unity
useCustomMainManifest: 0
useCustomMainManifest: 1
useCustomLauncherManifest: 0
useCustomMainGradleTemplate: 0
useCustomLauncherGradleManifest: 0
Expand Down

0 comments on commit a79cb35

Please sign in to comment.