diff --git a/Contoso.Android.Puppet/Assets/AboutAssets.txt b/Apps/Contoso.Android.Puppet/Assets/AboutAssets.txt similarity index 100% rename from Contoso.Android.Puppet/Assets/AboutAssets.txt rename to Apps/Contoso.Android.Puppet/Assets/AboutAssets.txt diff --git a/Contoso.Android.Puppet/Contoso.Android.Puppet.csproj b/Apps/Contoso.Android.Puppet/Contoso.Android.Puppet.csproj similarity index 69% rename from Contoso.Android.Puppet/Contoso.Android.Puppet.csproj rename to Apps/Contoso.Android.Puppet/Contoso.Android.Puppet.csproj index 57355a95a..f648e26da 100644 --- a/Contoso.Android.Puppet/Contoso.Android.Puppet.csproj +++ b/Apps/Contoso.Android.Puppet/Contoso.Android.Puppet.csproj @@ -74,29 +74,29 @@ - - {34771dc0-9684-45be-9c9c-5a686468722c} - Microsoft.Sonoma.Analytics.Android.Bindings + + {93E4ADA5-8D7A-44BF-9549-0AD76AB86E8F} + Microsoft.Azure.Mobile.Analytics.Android - - {93e4ada5-8d7a-44bf-9549-0ad76ab86e8f} - Microsoft.Sonoma.Analytics.Android + + {34771DC0-9684-45BE-9C9C-5A686468722C} + Microsoft.Azure.Mobile.Analytics.Android.Bindings - - {c3b5ba33-da39-400d-b5b3-85c68354fd74} - Microsoft.Sonoma.Core.Android.Bindings + + {C3B5BA33-DA39-400D-B5B3-85C68354FD74} + Microsoft.Azure.Mobile.Android.Bindings - - {119c1730-e109-4bc9-aa89-9dca2c50bfd5} - Microsoft.Sonoma.Core.Android + + {D6DB87CA-B8EC-4A38-805F-AFDC7FEC38EB} + Microsoft.Azure.Mobile.Crashes.Android - - {42d541d7-b7c9-45a7-8d4d-8fb5a00668b3} - Microsoft.Sonoma.Crashes.Android.Bindings + + {42D541D7-B7C9-45A7-8D4D-8FB5A00668B3} + Microsoft.Azure.Mobile.Crashes.Android.Bindings - - {d6db87ca-b8ec-4a38-805f-afdc7fec38eb} - Microsoft.Sonoma.Crashes.Android + + {119C1730-E109-4BC9-AA89-9DCA2C50BFD5} + Microsoft.Azure.Mobile.Android @@ -107,4 +107,4 @@ --> - \ No newline at end of file + diff --git a/Contoso.Android.Puppet/GettingStarted.Xamarin b/Apps/Contoso.Android.Puppet/GettingStarted.Xamarin similarity index 100% rename from Contoso.Android.Puppet/GettingStarted.Xamarin rename to Apps/Contoso.Android.Puppet/GettingStarted.Xamarin diff --git a/Contoso.Android.Puppet/MainActivity.cs b/Apps/Contoso.Android.Puppet/MainActivity.cs similarity index 58% rename from Contoso.Android.Puppet/MainActivity.cs rename to Apps/Contoso.Android.Puppet/MainActivity.cs index b0cef39dc..966c1b4c8 100644 --- a/Contoso.Android.Puppet/MainActivity.cs +++ b/Apps/Contoso.Android.Puppet/MainActivity.cs @@ -1,9 +1,9 @@ using Android.App; using Android.OS; using Android.Widget; -using Microsoft.Sonoma.Analytics; -using Microsoft.Sonoma.Core; -using Microsoft.Sonoma.Crashes; +using Microsoft.Azure.Mobile.Analytics; +using Microsoft.Azure.Mobile; +using Microsoft.Azure.Mobile.Crashes; using System.Collections.Generic; namespace Contoso.Android.Puppet @@ -11,7 +11,7 @@ namespace Contoso.Android.Puppet [Activity(Label = "SXPuppet", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { - private const string LOG_TAG = "SonomaXamarinPuppet"; + private const string LogTag = "MobileCenterXamarinPuppet"; protected override void OnCreate(Bundle savedInstanceState) { @@ -29,13 +29,13 @@ protected override void OnCreate(Bundle savedInstanceState) button.Text = button.Text.Substring(42); }; - // Sonoma integration - SonomaLog.Info(LOG_TAG, "Sonoma.LogLevel=" + Sonoma.LogLevel); - Sonoma.LogLevel = LogLevel.Verbose; - SonomaLog.Info(LOG_TAG, "Sonoma.LogLevel=" + Sonoma.LogLevel); - Sonoma.Start("44cd8722-bfe0-4748-ac14-7692e031a8a5", typeof(Analytics), typeof(Crashes)); + // Mobile Center integration + MobileCenterLog.Assert(LogTag, "MobileCenter.LogLevel=" + MobileCenter.LogLevel); + MobileCenter.LogLevel = LogLevel.Verbose; + MobileCenterLog.Info(LogTag, "MobileCenter.LogLevel=" + MobileCenter.LogLevel); + MobileCenter.Start("44cd8722-bfe0-4748-ac14-7692e031a8a5", typeof(Analytics), typeof(Crashes)); Analytics.TrackEvent("myEvent", new Dictionary { { "someKey", "someValue" } }); - SonomaLog.Info(LOG_TAG, "Sonoma.InstallId=" + Sonoma.InstallId); + MobileCenterLog.Info(LogTag, "MobileCenter.InstallId=" + MobileCenter.InstallId); } } } \ No newline at end of file diff --git a/Contoso.Android.Puppet/Properties/AndroidManifest.xml b/Apps/Contoso.Android.Puppet/Properties/AndroidManifest.xml similarity index 52% rename from Contoso.Android.Puppet/Properties/AndroidManifest.xml rename to Apps/Contoso.Android.Puppet/Properties/AndroidManifest.xml index fd697bd92..f0bd8addb 100644 --- a/Contoso.Android.Puppet/Properties/AndroidManifest.xml +++ b/Apps/Contoso.Android.Puppet/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/Contoso.Android.Puppet/Properties/AssemblyInfo.cs b/Apps/Contoso.Android.Puppet/Properties/AssemblyInfo.cs similarity index 100% rename from Contoso.Android.Puppet/Properties/AssemblyInfo.cs rename to Apps/Contoso.Android.Puppet/Properties/AssemblyInfo.cs diff --git a/Contoso.Android.Puppet/Resources/AboutResources.txt b/Apps/Contoso.Android.Puppet/Resources/AboutResources.txt similarity index 100% rename from Contoso.Android.Puppet/Resources/AboutResources.txt rename to Apps/Contoso.Android.Puppet/Resources/AboutResources.txt diff --git a/Contoso.Android.Puppet/Resources/drawable/Icon.png b/Apps/Contoso.Android.Puppet/Resources/drawable/Icon.png similarity index 100% rename from Contoso.Android.Puppet/Resources/drawable/Icon.png rename to Apps/Contoso.Android.Puppet/Resources/drawable/Icon.png diff --git a/Contoso.Android.Puppet/Resources/layout/Main.axml b/Apps/Contoso.Android.Puppet/Resources/layout/Main.axml similarity index 100% rename from Contoso.Android.Puppet/Resources/layout/Main.axml rename to Apps/Contoso.Android.Puppet/Resources/layout/Main.axml diff --git a/Contoso.Android.Puppet/Resources/values/Strings.xml b/Apps/Contoso.Android.Puppet/Resources/values/Strings.xml similarity index 100% rename from Contoso.Android.Puppet/Resources/values/Strings.xml rename to Apps/Contoso.Android.Puppet/Resources/values/Strings.xml diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Assets/AboutAssets.txt b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Assets/AboutAssets.txt similarity index 85% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Assets/AboutAssets.txt rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Assets/AboutAssets.txt index 5ddf08729..a9b0638eb 100644 --- a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Assets/AboutAssets.txt +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Assets/AboutAssets.txt @@ -1,7 +1,7 @@ Any raw assets you want to be deployed with your application can be placed in this directory (and child directories) and given a Build Action of "AndroidAsset". -These files will be deployed with you package and will be accessible using Android's +These files will be deployed with your package and will be accessible using Android's AssetManager, like this: public class ReadAsset : Activity diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Contoso.Forms.Demo.Droid.csproj b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Contoso.Forms.Demo.Droid.csproj new file mode 100644 index 000000000..bfe965aee --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Contoso.Forms.Demo.Droid.csproj @@ -0,0 +1,137 @@ + + + + Debug + AnyCPU + {3B39B339-86C4-47EF-8F85-811220494CA6} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Contoso.Forms.Demo.Droid + Contoso.Forms.Demo.Droid + v7.0 + True + Resources\Resource.designer.cs + Resource + Properties\AndroidManifest.xml + Resources + Assets + true + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + None + arm64-v8a;armeabi;armeabi-v7a;x86 + + + true + pdbonly + true + bin\Release + prompt + 4 + true + false + + + + + + + + ..\..\..\packages\Microsoft.Azure.Mobile.0.1.0-SNAPSHOT\lib\MonoAndroid403\Microsoft.Azure.Mobile.Android.Bindings.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.0.1.0-SNAPSHOT\lib\MonoAndroid403\Microsoft.Azure.Mobile.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Analytics.0.1.0-SNAPSHOT\lib\MonoAndroid403\Microsoft.Azure.Mobile.Analytics.Android.Bindings.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Analytics.0.1.0-SNAPSHOT\lib\MonoAndroid403\Microsoft.Azure.Mobile.Analytics.dll + + + ..\..\..\packages\Xamarin.Android.Support.v4.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v4.dll + + + ..\..\..\packages\Xamarin.Android.Support.v7.CardView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.CardView.dll + + + ..\..\..\packages\Xamarin.Android.Support.v7.RecyclerView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.RecyclerView.dll + + + ..\..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Vector.Drawable.dll + + + ..\..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Animated.Vector.Drawable.dll + + + ..\..\..\packages\Xamarin.Android.Support.v7.AppCompat.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.AppCompat.dll + + + ..\..\..\packages\Xamarin.Android.Support.Design.23.3.0\lib\MonoAndroid43\Xamarin.Android.Support.Design.dll + + + ..\..\..\packages\Xamarin.Android.Support.v7.MediaRouter.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.MediaRouter.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\FormsViewGroup.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Core.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Platform.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Crashes.0.1.0-SNAPSHOT\lib\MonoAndroid403\Microsoft.Azure.Mobile.Crashes.Android.Bindings.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Crashes.0.1.0-SNAPSHOT\lib\MonoAndroid403\Microsoft.Azure.Mobile.Crashes.dll + + + + + + + + + + + + + + + + + + + + + + + + + {8E7B51FC-8A9B-49F7-A40D-4D12BBF893B6} + Contoso.Forms.Demo + + + + + + + + + + diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/MainActivity.cs b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/MainActivity.cs new file mode 100644 index 000000000..2c9f4b98c --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/MainActivity.cs @@ -0,0 +1,26 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +using Microsoft.Azure.Mobile; + +namespace Contoso.Forms.Demo.Droid +{ + [Activity(Label = "Contoso.Forms.Demo.Droid", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] + public class MainActivity : Xamarin.Forms.Platform.Android.FormsAppCompatActivity + { + protected override void OnCreate(Bundle savedInstanceState) + { + TabLayoutResource = Resource.Layout.Tabbar; + ToolbarResource = Resource.Layout.Toolbar; + + base.OnCreate(savedInstanceState); + + Xamarin.Forms.Forms.Init(this, savedInstanceState); + + MobileCenter.Initialize("44cd8722-bfe0-4748-ac14-7692e031a8a5"); + + LoadApplication(new App()); + } + } +} diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AndroidManifest.xml b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AndroidManifest.xml new file mode 100644 index 000000000..6d0df0c9b --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Microsoft.Sonoma.Analytics.Forms.iOS/Properties/AssemblyInfo.cs b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AssemblyInfo.cs similarity index 78% rename from Microsoft.Sonoma.Analytics.Forms.iOS/Properties/AssemblyInfo.cs rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AssemblyInfo.cs index 4add868bb..3e719c3b1 100644 --- a/Microsoft.Sonoma.Analytics.Forms.iOS/Properties/AssemblyInfo.cs +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AssemblyInfo.cs @@ -1,15 +1,16 @@ using System.Reflection; using System.Runtime.CompilerServices; +using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. -[assembly: AssemblyTitle("Microsoft.Sonoma.Analytics.Forms")] +[assembly: AssemblyTitle("Contoso.Forms.Demo.Droid")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft Corporation")] +[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("Microsoft Corp. All rights reserved.")] +[assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -17,7 +18,7 @@ // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion("0.0.*")] +[assembly: AssemblyVersion("1.0.0")] // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. diff --git a/Microsoft.Sonoma.Crashes.Android/Resources/AboutResources.txt b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/AboutResources.txt similarity index 97% rename from Microsoft.Sonoma.Crashes.Android/Resources/AboutResources.txt rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/AboutResources.txt index c2bca974c..10f52d460 100644 --- a/Microsoft.Sonoma.Crashes.Android/Resources/AboutResources.txt +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/AboutResources.txt @@ -41,4 +41,4 @@ public class R { You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main to reference the layout/main.axml file, or R.strings.first_string to reference the first -string in the dictionary file values/strings.xml. \ No newline at end of file +string in the dictionary file values/strings.xml. diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable-hdpi/icon.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable-hdpi/icon.png similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable-hdpi/icon.png rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable-hdpi/icon.png diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable-xhdpi/icon.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable-xhdpi/icon.png similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable-xhdpi/icon.png rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable-xhdpi/icon.png diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable-xxhdpi/icon.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable-xxhdpi/icon.png similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable-xxhdpi/icon.png rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable-xxhdpi/icon.png diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable/icon.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable/icon.png similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Resources/drawable/icon.png rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/drawable/icon.png diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/layout/Tabbar.axml b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/layout/Tabbar.axml new file mode 100644 index 000000000..0bc7e9db6 --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/layout/Tabbar.axml @@ -0,0 +1,2 @@ + + diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/layout/Toolbar.axml b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/layout/Toolbar.axml new file mode 100644 index 000000000..d685cbadb --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/layout/Toolbar.axml @@ -0,0 +1,2 @@ + + diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/values/styles.xml b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/values/styles.xml new file mode 100644 index 000000000..3dc5ef6ba --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Resources/values/styles.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/Microsoft.Sonoma.Analytics.Forms.Android/packages.config b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/packages.config similarity index 75% rename from Microsoft.Sonoma.Analytics.Forms.Android/packages.config rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/packages.config index 333e11e90..13cd2b6d4 100644 --- a/Microsoft.Sonoma.Analytics.Forms.Android/packages.config +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/packages.config @@ -1,5 +1,8 @@  + + + diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/AppDelegate.cs b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/AppDelegate.cs new file mode 100644 index 000000000..027e83f5c --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/AppDelegate.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +using Foundation; +using UIKit; + +using Microsoft.Azure.Mobile; + +namespace Contoso.Forms.Demo.iOS +{ + [Register("AppDelegate")] + public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate + { + public override bool FinishedLaunching(UIApplication app, NSDictionary options) + { + global::Xamarin.Forms.Forms.Init(); + + MobileCenter.Initialize("44cd8722-bfe0-4748-ac14-7692e031a8a5"); + + LoadApplication(new App()); + + return base.FinishedLaunching(app, options); + + } + } +} diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Assets.xcassets/Contents.json b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Assets.xcassets/Contents.json similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Assets.xcassets/Contents.json rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Assets.xcassets/Contents.json diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Contoso.Forms.Demo.iOS.csproj b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Contoso.Forms.Demo.iOS.csproj new file mode 100644 index 000000000..ed188717e --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Contoso.Forms.Demo.iOS.csproj @@ -0,0 +1,163 @@ + + + + Debug + iPhoneSimulator + {EB8F7B8E-5013-4C0C-9C32-59ADC5FDFDBD} + {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Exe + Contoso.Forms.Demo.iOS + Contoso.Forms.Demo.iOS + Resources + + + true + full + false + bin\iPhoneSimulator\Debug + DEBUG;ENABLE_TEST_CLOUD; + prompt + 4 + iPhone Developer + true + true + true + true + None + i386 + HttpClientHandler + Default + false + + + pdbonly + true + bin\iPhone\Release + + + prompt + 4 + iPhone Developer + true + true + true + Entitlements.plist + SdkOnly + ARMv7, ARM64 + HttpClientHandler + Default + + + pdbonly + true + bin\iPhoneSimulator\Release + + + prompt + 4 + iPhone Developer + true + true + None + i386 + HttpClientHandler + Default + + + true + full + false + bin\iPhone\Debug + DEBUG;ENABLE_TEST_CLOUD; + prompt + 4 + iPhone Developer + true + true + true + true + true + true + Entitlements.plist + SdkOnly + ARMv7, ARM64 + HttpClientHandler + Default + + + + + + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll + + + ..\..\..\packages\Xamarin.Forms.2.3.2.127\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.0.1.0-SNAPSHOT\lib\Xamarin.iOS10\Microsoft.Azure.Mobile.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.0.1.0-SNAPSHOT\lib\Xamarin.iOS10\Microsoft.Azure.Mobile.iOS.Bindings.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Analytics.0.1.0-SNAPSHOT\lib\Xamarin.iOS10\Microsoft.Azure.Mobile.Analytics.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Analytics.0.1.0-SNAPSHOT\lib\Xamarin.iOS10\Microsoft.Azure.Mobile.Analytics.iOS.Bindings.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Crashes.0.1.0-SNAPSHOT\lib\Xamarin.iOS10\Microsoft.Azure.Mobile.Crashes.dll + + + ..\..\..\packages\Microsoft.Azure.Mobile.Crashes.0.1.0-SNAPSHOT\lib\Xamarin.iOS10\Microsoft.Azure.Mobile.Crashes.iOS.Bindings.dll + + + + + false + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + {8E7B51FC-8A9B-49F7-A40D-4D12BBF893B6} + Contoso.Forms.Demo + + + + + + + \ No newline at end of file diff --git a/Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Entitlements.plist b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Entitlements.plist similarity index 100% rename from Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Entitlements.plist rename to Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Entitlements.plist diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Info.plist b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Info.plist new file mode 100644 index 000000000..42f3cc34b --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Info.plist @@ -0,0 +1,46 @@ + + + + + CFBundleDisplayName + Contoso.Forms.Demo + CFBundleName + Contoso.Forms.Demo + CFBundleIdentifier + com.contoso.contoso-forms-demo + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + MinimumOSVersion + 8.0 + UIDeviceFamily + + 1 + 2 + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/AppIcon.appiconset + + diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/LaunchScreen.storyboard b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/LaunchScreen.storyboard new file mode 100644 index 000000000..5d2e905aa --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Main.cs b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Main.cs new file mode 100644 index 000000000..3bb6c0d62 --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Main.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +using Foundation; +using UIKit; + +namespace Contoso.Forms.Demo.iOS +{ + public class Application + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, "AppDelegate"); + + + } + } +} diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/bolt@2x.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/bolt@2x.png new file mode 100644 index 000000000..48c3d8a19 Binary files /dev/null and b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/bolt@2x.png differ diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/lightning@2x.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/lightning@2x.png new file mode 100644 index 000000000..58e552a1e Binary files /dev/null and b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/lightning@2x.png differ diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/socket@2x.png b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/socket@2x.png new file mode 100644 index 000000000..738bc6a9a Binary files /dev/null and b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Resources/socket@2x.png differ diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/icon_attribution.txt b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/icon_attribution.txt new file mode 100644 index 000000000..91431cc7e --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/icon_attribution.txt @@ -0,0 +1 @@ +iOS Tab bar icons from Glyphish - http://glyphish.com \ No newline at end of file diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/packages.config b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/packages.config new file mode 100644 index 000000000..f616b5873 --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/packages.config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/AddPropertyContentPage.xaml b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/AddPropertyContentPage.xaml new file mode 100644 index 000000000..391e0007f --- /dev/null +++ b/Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/AddPropertyContentPage.xaml @@ -0,0 +1,15 @@ + + + + + + + +