com.puzzlescapegames.services 1.2.4 → 1.2.6

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.
@@ -1,6 +1,8 @@
1
+ using System.Diagnostics;
1
2
  using UnityEngine;
2
3
 
3
4
  namespace PuzzlescapeGames.Services
4
5
  {
6
+ [ Conditional( "UNITY_EDITOR" ) ]
5
7
  public sealed class TimeInfoAttribute : PropertyAttribute { }
6
8
  }
@@ -2,11 +2,9 @@ using Cysharp.Threading.Tasks;
2
2
  using PuzzlescapeGames.Extensions;
3
3
  using System;
4
4
  using System.Threading;
5
- using UnityEngine.Scripting;
6
5
 
7
6
  namespace PuzzlescapeGames.Services.TickableService
8
7
  {
9
- [ Preserve ]
10
8
  public sealed class TickableService
11
9
  {
12
10
  public event Action OnMinutesTick;
@@ -1,9 +1,7 @@
1
- using UnityEngine.Scripting;
2
1
  using Zenject;
3
2
 
4
3
  namespace PuzzlescapeGames.Services.TickableService
5
4
  {
6
- [ Preserve ]
7
5
  public sealed class TickableServiceInstaller : Installer< TickableServiceInstaller >
8
6
  {
9
7
  public override void InstallBindings()
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.2.4",
4
+ "version" : "1.2.6",
5
5
  "author" : "Puzzlescape Games",
6
6
  "description" : "Common services.",
7
7
  "repository": {
@@ -1,41 +0,0 @@
1
- #if UNITY_IPHONE || UNITY_IOS
2
- using System.IO;
3
- using UnityEditor;
4
- using UnityEditor.Callbacks;
5
- using UnityEditor.iOS.Xcode;
6
- using UnityEngine;
7
-
8
- namespace PuzzlescapeGames.Services.Editor
9
- {
10
- public static class XCodePostProcess
11
- {
12
- // Set the IDFA request description:
13
- private const string k_TrackingDescription = "Your data will be used to provide you a better and personalized ad experience.";
14
-
15
- [ PostProcessBuild ]
16
- public static void ChangeXcodePlist( BuildTarget buildTarget, string path )
17
- {
18
- if ( buildTarget == BuildTarget.iOS )
19
- {
20
- string plistPath = path + "/Info.plist";
21
- PlistDocument plist = new PlistDocument();
22
- plist.ReadFromFile( plistPath );
23
-
24
- PlistElementDict rootDict = plist.root;
25
-
26
- Debug.Log( "[iOS] Change plist file" );
27
-
28
- //Default Encrypt
29
- rootDict.SetBoolean( "ITSAppUsesNonExemptEncryption", false );
30
- //ATT
31
- rootDict.SetString( "NSUserTrackingUsageDescription", k_TrackingDescription );
32
- //AppsFlyer SKAN end point
33
- //https://dev.appsflyer.com/hc/docs/integrate-ios-sdk#sending-skan-postback-copies-to-appsflyer
34
- rootDict.SetString( "NSAdvertisingAttributionReportEndpoint ", "https://appsflyer-skadnetwork.com/" );
35
-
36
- File.WriteAllText( plistPath, plist.WriteToString() );
37
- }
38
- }
39
- }
40
- }
41
- #endif
@@ -1,11 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 437e90a13feae6b43b0731f2cf7f3dbe
3
- MonoImporter:
4
- externalObjects: {}
5
- serializedVersion: 2
6
- defaultReferences: []
7
- executionOrder: 0
8
- icon: {instanceID: 0}
9
- userData:
10
- assetBundleName:
11
- assetBundleVariant: