Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Packages/MobileSupportStorage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release notes

## v1.0.0 - 2024/11/06

- Behaviour changes :warning:
- iOS: includeDeletableCaches parameter of `GetInternalUsableSpace()` was previously set to `false` by default, but now set to `true` by default

## v0.2.0 - 2022/08/16

- New Features :rocket:
Expand Down
2 changes: 1 addition & 1 deletion Packages/MobileSupportStorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Or, open `Packages/manifest.json` and add the following to the dependencies bloc

If you want to set the target version, write as follows.

- https://github.com/CyberAgentGameEntertainment/UnityMobileSupport.git?path=/Packages/MobileSupportStorage#storage/0.2.0
- https://github.com/CyberAgentGameEntertainment/UnityMobileSupport.git?path=/Packages/MobileSupportStorage#storage/1.0.0

Note that if you get a message like `No 'git' executable was found. Please install Git on your system and restart Unity`, you will need to set up Git on your machine.

Expand Down
4 changes: 2 additions & 2 deletions Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public static partial class Storage
/// <summary>
/// Get usable space of internal storage.
/// </summary>
/// <param name="includeDeletableCaches">Set <c>true</c> to include size of deletable caches. Value showed at System are included.</param>
/// <param name="includeDeletableCaches">Set <c>false</c> to exclude size of deletable caches. To get value showed at System, set to <c>true</c>.</param>
/// <returns>Bytes of usable space. It will return -1 for internal error and in Unity editor.</returns>
public static long GetInternalUsableSpace(bool includeDeletableCaches = false)
public static long GetInternalUsableSpace(bool includeDeletableCaches = true)
{
#if UNITY_EDITOR
if (Application.isEditor)
Expand Down
2 changes: 1 addition & 1 deletion Packages/MobileSupportStorage/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jp.co.cyberagent.unity-mobile-support-storage",
"displayName": "Mobile Support - Storage",
"version": "0.2.0",
"version": "1.0.0",
"unity": "2019.4",
"description": "Tools to support storage of mobile like iOS/Android.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Scripts ars split into multiple packages, so choose packages what you only need.

| Package | Description | Latest Version | Readme Link | Changelog Link |
|-------------|------------------------------------------------------|----------------|----------------------------------------------------------|----------------------------------------------------------------|
| Storage | Functions to retrive information about storage | v0.2.0 | [README.md](Packages/MobileSupportStorage/README.md) | [CHANGELOG.md](Packages/MobileSupportStorage/CHANGELOG.md) |
| Storage | Functions to retrive information about storage | v1.0.0 | [README.md](Packages/MobileSupportStorage/README.md) | [CHANGELOG.md](Packages/MobileSupportStorage/CHANGELOG.md) |
| Thermal | Functions to retrive information about thermal | v2.0.0 | [README.md](Packages/MobileSupportThermal/README.md) | [CHANGELOG.md](Packages/MobileSupportThermal/CHANGELOG.md) |
| AndroidGame | Functions to integrate with Android GameManager APIs | v1.1.0 | [README.md](Packages/MobileSupportAndroidGame/README.md) | [CHANGELOG.md](Packages/MobileSupportAndroidGame/CHANGELOG.md) |
| QualityTuner | Package to get hardware specs and tool to decide quality level | v1.0.0 | [README.md](Packages/MobileSupportQualityTuner/README.md) | [CHANGELOG.md](Packages/MobileSupportQualityTuner/CHANGELOG.md) |