diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..5509140f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.DS_Store diff --git a/Example.Android.Application/Example.Android.Application.sln b/Example.Android.Application/Example.Android.Application.sln deleted file mode 100644 index c57cef32..00000000 --- a/Example.Android.Application/Example.Android.Application.sln +++ /dev/null @@ -1,23 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example.Android.Application", "Example.Android.Application\Example.Android.Application.csproj", "{D1346D18-9F00-4BE1-A2EB-0F534CF7615A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OneSignal.Android.Binding", "..\OneSignal.Android.Binding\OneSignal.Android.Binding\OneSignal.Android.Binding.csproj", "{9144F592-91B9-4ACA-BC3C-D771F8319996}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {9144F592-91B9-4ACA-BC3C-D771F8319996}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9144F592-91B9-4ACA-BC3C-D771F8319996}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9144F592-91B9-4ACA-BC3C-D771F8319996}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9144F592-91B9-4ACA-BC3C-D771F8319996}.Release|Any CPU.Build.0 = Release|Any CPU - {D1346D18-9F00-4BE1-A2EB-0F534CF7615A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D1346D18-9F00-4BE1-A2EB-0F534CF7615A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D1346D18-9F00-4BE1-A2EB-0F534CF7615A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D1346D18-9F00-4BE1-A2EB-0F534CF7615A}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal diff --git a/Example.Android.Application/Example.Android.Application.userprefs b/Example.Android.Application/Example.Android.Application.userprefs deleted file mode 100644 index f2ed12ed..00000000 --- a/Example.Android.Application/Example.Android.Application.userprefs +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Example.Android.Application/Example.Android.Application/MainActivity.cs b/Example.Android.Application/Example.Android.Application/MainActivity.cs deleted file mode 100644 index ba24804b..00000000 --- a/Example.Android.Application/Example.Android.Application/MainActivity.cs +++ /dev/null @@ -1,57 +0,0 @@ -using Android.App; -using Android.Widget; -using Android.OS; -using Android.Util; -using System; -using Org.Json; -using Com.Onesignal; - -namespace Example.Android.Application -{ - [Activity (Label = "Example.Android.Application", MainLauncher = true, Icon = "@mipmap/icon")] - public class MainActivity : Activity - { - int count = 1; - - protected override void OnCreate (Bundle savedInstanceState) - { - base.OnCreate (savedInstanceState); - - // Initialize OneSignal - OneSignal.StartInit (this).SetNotificationOpenedHandler (new ExampleNotificationOpenedHandler ()).Init (); - - // Set our view from the "main" layout resource - SetContentView (Resource.Layout.Main); - - // Get our button from the layout resource, - // and attach an event to it - Button button = FindViewById + + + + + + + + + + + + + + + + diff --git a/Example.Shared.Application/iOS/Resources/Images.xcassets/AppIcons.appiconset/Contents.json b/Example.Shared.Application/iOS/Resources/Images.xcassets/AppIcons.appiconset/Contents.json new file mode 100644 index 00000000..24f99745 --- /dev/null +++ b/Example.Shared.Application/iOS/Resources/Images.xcassets/AppIcons.appiconset/Contents.json @@ -0,0 +1,108 @@ +{ + "images": [ + { + "size": "29x29", + "scale": "1x", + "idiom": "iphone" + }, + { + "size": "29x29", + "scale": "2x", + "idiom": "iphone" + }, + { + "size": "29x29", + "scale": "3x", + "idiom": "iphone" + }, + { + "size": "40x40", + "scale": "2x", + "idiom": "iphone" + }, + { + "size": "40x40", + "scale": "3x", + "idiom": "iphone" + }, + { + "size": "57x57", + "scale": "1x", + "idiom": "iphone" + }, + { + "size": "57x57", + "scale": "2x", + "idiom": "iphone" + }, + { + "size": "60x60", + "scale": "2x", + "idiom": "iphone" + }, + { + "size": "60x60", + "scale": "3x", + "idiom": "iphone" + }, + { + "size": "29x29", + "scale": "1x", + "idiom": "ipad" + }, + { + "size": "29x29", + "scale": "2x", + "idiom": "ipad" + }, + { + "size": "40x40", + "scale": "1x", + "idiom": "ipad" + }, + { + "size": "40x40", + "scale": "2x", + "idiom": "ipad" + }, + { + "size": "50x50", + "scale": "1x", + "idiom": "ipad" + }, + { + "size": "50x50", + "scale": "2x", + "idiom": "ipad" + }, + { + "size": "72x72", + "scale": "1x", + "idiom": "ipad" + }, + { + "size": "72x72", + "scale": "2x", + "idiom": "ipad" + }, + { + "size": "76x76", + "scale": "1x", + "idiom": "ipad" + }, + { + "size": "76x76", + "scale": "2x", + "idiom": "ipad" + }, + { + "size": "120x120", + "scale": "1x", + "idiom": "car" + } + ], + "info": { + "version": 1, + "author": "xcode" + } +} \ No newline at end of file diff --git a/Example.iOS.Application/Example.iOS.Application/Resources/LaunchScreen.xib b/Example.Shared.Application/iOS/Resources/LaunchScreen.xib similarity index 95% rename from Example.iOS.Application/Example.iOS.Application/Resources/LaunchScreen.xib rename to Example.Shared.Application/iOS/Resources/LaunchScreen.xib index ef033885..9772a4be 100644 --- a/Example.iOS.Application/Example.iOS.Application/Resources/LaunchScreen.xib +++ b/Example.Shared.Application/iOS/Resources/LaunchScreen.xib @@ -18,7 +18,7 @@ -