Skip to content

Commit 016a9d3

Browse files
committed
Fixed demo scripts
1 parent a72cb02 commit 016a9d3

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Assets/Scripts/AppServicesDemo.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,9 @@ public class AppServicesDemo : MonoBehaviour
3636
/// Use this for initialization
3737
void Start ()
3838
{
39-
/// NB: Warning this block disables ServerCertificateValidation on Android for demo purposes only!
40-
#if UNITY_ANDROID
41-
Debug.Log("Warning: Android ServerCertificateValidation disabled.");
42-
ServicePointManager.ServerCertificateValidationCallback = (p1, p2, p3, p4) => true; // NB: this is a workaround for "Unable to find /System/Library/Frameworks/Security.framework/Security" issue in Android
43-
#endif
39+
Debug.Log ("Azure App Service");
4440

4541
/// Create App Service client
46-
Debug.Log ("App Service");
4742
_client = new MobileServiceClient (_appUrl);
4843

4944
Debug.Log(_client);

Assets/Scripts/MobileServicesDemo.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ public class MobileServicesDemo : MonoBehaviour
3636
List<Highscore> scores = new List<Highscore>();
3737

3838
/// Use this for initialization
39+
void Start()
3940
{
41+
Debug.Log ("Azure Mobile Service Demo");
42+
4043
/// Create Mobile Service client
4144
_client = new MobileServiceClient(_appUrl, _appKey);
4245
Debug.Log(_client);

ProjectSettings/EditorBuildSettings.asset

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ EditorBuildSettings:
66
serializedVersion: 2
77
m_Scenes:
88
- enabled: 1
9-
path: Assets/Scenes/HighscoresDemo.unity
9+
path: Assets/Scenes/MobileServicesDemo.unity
10+
- enabled: 1
11+
path: Assets/Scenes/AppServicesDemo.unity

ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ PlayerSettings:
8989
16:10: 1
9090
16:9: 1
9191
Others: 1
92-
bundleIdentifier: net.deadlyfingers.Unity3DAzureDemo
92+
bundleIdentifier: net.deadlyfingers.Unity3DAzure
9393
bundleVersion: 1.0
9494
preloadedAssets: []
9595
metroEnableIndependentInputSource: 0

0 commit comments

Comments
 (0)