com.puzzlescapegames.services 1.4.1 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,18 @@
1
+ #if UNITY_EDITOR
2
+ using UnityEngine;
3
+ using UnityEditor;
4
+
5
+ namespace PuzzlescapeGames.Services
6
+ {
7
+ [ CustomPropertyDrawer( typeof(ReadOnlyAttribute) ) ]
8
+ public class ReadOnlyDrawer : PropertyDrawer
9
+ {
10
+ public override void OnGUI( Rect position, SerializedProperty property, GUIContent label )
11
+ {
12
+ GUI.enabled = false;
13
+ EditorGUI.PropertyField( position, property, label, true );
14
+ GUI.enabled = true;
15
+ }
16
+ }
17
+ }
18
+ #endif
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: 2b78c0fb24e247f3a7db1a3fb36469bf
3
+ timeCreated: 1759723206
@@ -9,6 +9,7 @@ namespace PuzzlescapeGames.Services.Editor
9
9
  {
10
10
  public static class XCodePostProcess
11
11
  {
12
+ private const string k_LocationWhenInUseUsageDescription = "This app uses your location to show more relevant and personalized advertising content that matches your interests and region.";
12
13
  // Set the IDFA request description:
13
14
  private const string k_TrackingDescription = "Your data will be used to provide you a better and personalized ad experience.";
14
15
 
@@ -27,6 +28,8 @@ namespace PuzzlescapeGames.Services.Editor
27
28
 
28
29
  //Default Encrypt
29
30
  rootDict.SetBoolean( "ITSAppUsesNonExemptEncryption", false );
31
+ //Location
32
+ rootDict.SetString( "NSLocationWhenInUseUsageDescription", k_LocationWhenInUseUsageDescription );
30
33
  //ATT
31
34
  rootDict.SetString( "NSUserTrackingUsageDescription", k_TrackingDescription );
32
35
  //AppsFlyer Swizzling
@@ -0,0 +1,6 @@
1
+ using UnityEngine;
2
+
3
+ namespace PuzzlescapeGames.Services
4
+ {
5
+ public sealed class ReadOnlyAttribute : PropertyAttribute { }
6
+ }
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: f0ac3c86edc947d5b7df1ea762e0877c
3
+ timeCreated: 1759723226
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name" : "com.puzzlescapegames.services",
3
3
  "displayName" : "Puzzlescape Games Services",
4
- "version" : "1.4.1",
4
+ "version" : "1.4.3",
5
5
  "author" : "Puzzlescape Games",
6
6
  "description" : "Common services.",
7
7
  "repository": {