1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 17:17:26 +08:00
Commit Graph

137 Commits

Author SHA1 Message Date
Dean Herbert
a41c6dce04
Fix android build failure due to enum rename 2024-10-07 16:43:50 +09:00
Dean Herbert
7977ce8a0e
Attempt to fix android class 2024-10-01 18:25:45 +09:00
smallketchup82
71816c09dc
Resurrect SimpleUpdateManager as MobileUpdateNotifier
While removing the desktop specific logic from it
2024-07-05 03:29:09 -04:00
Bartłomiej Dach
665ab3dfd0
Update android icon assets 2024-05-10 10:04:55 +02:00
Bartłomiej Dach
9fc56f1cc7
Apply adjustments after migration of android to SDL3 2024-04-29 13:07:36 +02:00
Dan Balasescu
ba291621f0
Adjust Android SDK target version 2024-02-04 17:27:07 +09:00
Dan Balasescu
497213d529
Re-enable LLVM for now 2024-02-02 21:28:52 +09:00
Dan Balasescu
19ea484240
Adjust pragma disable to fix Android compile 2024-02-02 21:28:52 +09:00
Dan Balasescu
630278f6e7
Replace UseMauiEssentials with PackageReference 2024-02-02 21:28:51 +09:00
Dan Balasescu
6e4d52863c
Upgrade to .NET 8 SDK 2024-02-02 21:28:51 +09:00
Bartłomiej Dach
33738b5285
Update android icons 2024-01-26 19:04:16 +01:00
Dean Herbert
c2a4a6d8cb
Add inline comment matching framework 2023-12-04 12:10:31 +09:00
Susko3
e0eea07a3f Request READ_EXTERNAL_STORAGE on older android versions 2023-12-01 13:01:49 +01:00
Susko3
51cf85a9ab Add touch input settings to android
Also updates touch settings so the touch handler can't be disabled on mobile.
2023-11-09 14:52:15 +01:00
Susko3
00268d0ccc Remove unused using 2023-11-07 13:09:30 +01:00
Susko3
fcd73e62d2 Remove mobile specific changes
Will be added back in a separate PR
2023-11-07 13:06:14 +01:00
Susko3
fa1d1df594 Rename mouse button string to Disable clicks during gameplay 2023-11-05 12:43:14 +01:00
Susko3
86fb33cb90 Add disable taps checkbox to touch input settings 2023-11-05 12:40:06 +01:00
Bartłomiej Dach
912f31dabc
Declare media permissions in game project for editor usage 2023-08-20 23:37:11 +02:00
Bartłomiej Dach
249dcc2ced
Bump Android target SDK version to 33 2023-08-20 23:36:07 +02:00
Joseph Madamba
ce12afde70
Remove android manifest overlay 2023-07-15 23:38:06 -07:00
Bartłomiej Dach
34e2540331
Fix nullability-related warnings in Android project 2023-06-24 17:05:52 +02:00
Dean Herbert
0ab0c52ad5 Automated pass 2023-06-24 01:00:03 +09:00
Bartłomiej Dach
d120638e68
Use manifest overlay and merger for intent query specs
Co-authored-by: Susko3 <Susko3@protonmail.com>
2023-03-05 13:17:46 +01:00
Joseph Madamba
5d6ab5f465
Add mailto scheme to intent queries 2023-03-04 16:07:29 -08:00
Joseph Madamba
92f94278c1
Fix external links not working on Android 2023-03-04 13:35:34 -08:00
Susko3
e16105d059 Fix NRT and add more safety 2023-01-22 23:11:50 +01:00
Susko3
de21864bd1 Move logic to AndroidImportTask and add delete mechanism 2023-01-22 23:09:47 +01:00
Bartłomiej Dach
76367444cb
Adjust Android package versioning to .NET 6
With .NET 6, the way Xamarin package versioning works has changed.

- The `ApplicationVersion` MSBuild property aims to replace
  `android:versionCode` in the manifest.
- The `ApplicationDisplayVersion` MSBuild property aims to replace
  `android:versionName` in the manifest.

More about this can be read in Xamarin docs:

    ec712da8c1/Documentation/guides/OneDotNetSingleProject.md

To this end:

- Manual `version{Code,Name}` specs are removed from
  `AndroidManifest.xml`, as they were preventing MSBuild properties
  from functioning properly.
- `Version` now defaults to 0.0.0, so that local builds don't appear
  like they were deployed (see `OsuGameBase.IsDeployedBuild`).
- `ApplicationDisplayVersion` now defaults to `Version`.
  This addresses the Android portion of #21498.
- `ApplicationVersion` can now be specified by command line,
  but still needs to be supplied manually for version detection to
  work correctly. See `OsuGameAndroid.AssemblyVersion` for more info.

Putting the pieces together, the complete publish command to deploy
a new build should look something like so:

    dotnet publish -f net6.0-android \
                   -r android-arm64 \
                   -c Release \
                   -p:Version=2022.1228.0 \
                   -p:ApplicationVersion=202212280
2022-12-28 10:36:54 +01:00
Susko3
36c620287b Remove no longer needed Linker.xml configurations for mobile projects 2022-12-19 18:11:05 +01:00
Dean Herbert
877413524f Cherry-picked android changes from #17462 2022-12-19 15:46:54 +09:00
Susko3
34ad1e1d61 Fix Android linker removing System.Globalisation.*Calendar 2022-12-08 22:50:29 +01:00
Bartłomiej Dach
00c11b2b4e
Add partial specs in mobile projects too 2022-11-26 17:59:38 +01:00
Susko3
38a8b9cf0a Add battery info for desktop platforms 2022-07-30 14:26:19 +02:00
Susko3
cb1d60cd36 Include new file in compile 2022-07-15 11:57:05 +02:00
Susko3
6995b34b08 Add Android joystick settings 2022-07-01 13:14:43 +02:00
Bartłomiej Dach
345ae7bbc3 Fix build errors after implicit NRT enable 2022-06-21 00:46:52 +02:00
Bartłomiej Dach
ee96d84ffa
Merge branch 'master' into input-settings 2022-06-20 22:55:43 +02:00
Dan Balasescu
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Susko3
214b2724de Merge branch 'master' into input-settings
# Conflicts:
#	osu.Game/OsuGameBase.cs
#	osu.iOS/OsuGameIOS.cs
2022-02-12 11:48:46 +01:00
Susko3
84171962e5 Change name and add xmldoc 2022-02-03 13:55:04 +01:00
Susko3
40953751b5 Use ScreenOrientation.FullUser on Android tablets 2022-02-03 13:29:37 +01:00
Susko3
bfe6218ed5 Change default orientation to SensorLandscape 2022-02-01 12:43:58 +01:00
Susko3
037e56f13e Add Android mouse settings 2022-01-15 14:53:41 +01:00
Susko3
5b4ce7f11b Add explicit Exported = true 2021-12-24 18:57:08 +01:00
Susko3
99481d2b77 Update OsuGameActivity and manifest in line with framework changes 2021-12-24 12:51:11 +01:00
Salman Ahmed
badbbace10 Add android intent filter for osu! replays 2021-11-02 04:58:53 +03:00
Dean Herbert
f2d51200a5 Update android mime types in line with new specifications 2021-08-23 16:55:42 +09:00
dependabot[bot]
c93533fa2e
Bump Xamarin.Essentials from 1.6.1 to 1.7.0
Bumps [Xamarin.Essentials](https://github.com/xamarin/Essentials) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/xamarin/Essentials/releases)
- [Commits](https://github.com/xamarin/Essentials/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: Xamarin.Essentials
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 17:04:24 +00:00
Susko3
a0fbf29b98 add application/x-osu-archive mime type to Android IntentFilters 2021-06-07 11:24:48 +02:00