Skip to content

Commit

Permalink
1.0.0-preview.10 - 2019/02/22
Browse files Browse the repository at this point in the history
@2018.2
  • Loading branch information
ErikMoczi committed Mar 3, 2019
1 parent e8001ab commit e3b145e
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 46 deletions.
5 changes: 5 additions & 0 deletions package/CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.0-preview.10] - 2019-02-22

### Fixes:

- Compatibility fixes for Unity 2019.2.

## [1.0.0-preview.9] - 2019-02-5

Expand Down
15 changes: 11 additions & 4 deletions package/Editor/Unity.Mobile.Notifications.Editor.asmdef
@@ -1,13 +1,20 @@
{
"name": "Unity.Notifications.Editor",
"name": "Unity.Notifications",
"references": [
"Unity.Notifications.Android",
"Unity.Notifications.iOS"
"GUID:1e8e55397bd004beaba78a667566665f",
"GUID:ac145e6b8c6034cdbadc8c6e26aedbcf"
],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [
""
],
"autoReferenced": false,
"defineConstraints": [],
"versionDefines": []
}
7 changes: 3 additions & 4 deletions package/Editor/UnityNotificationEditorManager.cs
Expand Up @@ -4,12 +4,11 @@
using System.IO;
using System.Linq;
using UnityEditor;
#if PLATFORM_ANDROID
using UnityEditor.Android;
#endif
using UnityEngine;

using UnityEditor.Android;
using Unity.Notifications.iOS;
using UnityEngine;
using Unity.Notifications;

#pragma warning disable 219

Expand Down
5 changes: 4 additions & 1 deletion package/Editor/UnityNotificationsEditorManagerEditor.cs
Expand Up @@ -3,14 +3,17 @@
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Unity.Notifications.iOS;
using UnityEngine;
using UnityEditor;
using UnityEditor.VersionControl;
using UnityEditorInternal;

using Unity.Notifications.iOS;


#pragma warning disable 219, 414


namespace Unity.Notifications
{
[CustomEditor(typeof(UnityNotificationEditorManager))]
Expand Down
7 changes: 3 additions & 4 deletions package/Editor/iOSNotificationPostProcess.cs
Expand Up @@ -3,14 +3,13 @@
using System.Collections.Generic;
using System.IO;
using Unity.Notifications;
using Unity.Notifications.Android;
using Unity.Notifications.iOS;
using UnityEditor;
using UnityEditor.Callbacks;

using UnityEngine;

#if UNITY_IOS
#if PLATFORM_IOS
using Unity.Notifications.iOS;
using UnityEditor.iOS.Xcode;
#endif

Expand All @@ -19,7 +18,7 @@ public class iOSNotificationPostProcess : MonoBehaviour {
[PostProcessBuild]
public static void OnPostprocessBuild (BuildTarget buildTarget, string path)
{
#if UNITY_IOS
#if PLATFORM_IOS
if (buildTarget == BuildTarget.iOS) {

var projPath = path + "/Unity-iPhone.xcodeproj/project.pbxproj";
Expand Down
20 changes: 5 additions & 15 deletions package/Runtime/Android/Unity.Notifications.Android.asmdef
Expand Up @@ -2,25 +2,15 @@
"name": "Unity.Notifications.Android",
"references": [],
"optionalUnityReferences": [],
"excludePlatforms": [
"iOS",
"LinuxStandalone32",
"LinuxStandalone64",
"LinuxStandaloneUniversal",
"macOSStandalone",
"PS4",
"Switch",
"tvOS",
"WSA",
"WebGL",
"WindowsStandalone32",
"WindowsStandalone64",
"XboxOne"
"includePlatforms": [
"Android",
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
"defineConstraints": [],
"versionDefines": []
}

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

20 changes: 5 additions & 15 deletions package/Runtime/iOS/Unity.Notifications.iOS.asmdef
Expand Up @@ -2,25 +2,15 @@
"name": "Unity.Notifications.iOS",
"references": [],
"optionalUnityReferences": [],
"excludePlatforms": [
"Android",
"LinuxStandalone32",
"LinuxStandalone64",
"LinuxStandaloneUniversal",
"macOSStandalone",
"PS4",
"Switch",
"tvOS",
"WSA",
"WebGL",
"WindowsStandalone32",
"WindowsStandalone64",
"XboxOne"
"includePlatforms": [
"Editor",
"iOS"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
"defineConstraints": [],
"versionDefines": []
}
4 changes: 2 additions & 2 deletions package/package.json
@@ -1,7 +1,7 @@
{
"name": "com.unity.mobile.notifications",
"displayName": "Mobile Notifications",
"version": "1.0.0-preview.9",
"version": "1.0.0-preview.10",
"unity": "2018.2",
"description": "Mobile Notifications package adds support for scheduling local repeatable or one-time notifications on iOS and Android.\n\nRequires iOS 10 and Android 4.1 or above.",
"keywords": [
Expand All @@ -13,6 +13,6 @@
"dependencies": {},
"repository": {
"url": "gitlab.cds.internal.unity3d.com/upm-packages/mobile/mobile-notifications.git",
"revision": "8ca6c0bd66428dc2c3ec35296c8746e0369a9067"
"revision": "9c066c8b826d23bf1970f82fdbee1697db6b9afc"
}
}
1 change: 1 addition & 0 deletions versions.txt
Expand Up @@ -20,3 +20,4 @@
1.0.0-preview.7
1.0.0-preview.8
1.0.0-preview.9
1.0.0-preview.10

0 comments on commit e3b145e

Please sign in to comment.