Skip to content

Commit

Permalink
RIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Coppola authored and Marco Coppola committed Jan 26, 2021
1 parent 977ac6d commit 523bba2
Show file tree
Hide file tree
Showing 11 changed files with 231 additions and 38,352 deletions.
Binary file modified .DS_Store
Binary file not shown.
38,517 changes: 184 additions & 38,333 deletions SalveminiApp/SalveminiApp.Android/Resources/Resource.designer.cs

Large diffs are not rendered by default.

Binary file modified SalveminiNetStandard/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.codex.salveminiapp" android:versionCode="23" android:versionName="34">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.codex.salveminiapp" android:versionCode="25" android:versionName="35">
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="29" />
<application android:allowBackup="false" android:label="Salvemini">
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
Expand Down

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

6 changes: 3 additions & 3 deletions SalveminiNetStandard/SalveminiApp.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>10.0</string>
<string>10</string>
<key>CFBundleDisplayName</key>
<string>Salvemini</string>
<key>CFBundleIdentifier</key>
Expand Down Expand Up @@ -75,8 +75,8 @@
<key>GADIsAdManagerApp</key>
<true/>
<key>CFBundleVersion</key>
<string>15</string>
<string>16</string>
<key>CFBundleShortVersionString</key>
<string>34</string>
<string>35</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions SalveminiNetStandard/SalveminiApp.iOS/SalveminiApp.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
<MtouchArch>ARM64</MtouchArch>
<CodesignKey>iPhone Distribution: Marco Coppola (NP46PS7Q98)</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<CodesignProvision>SalveminiAppStore</CodesignProvision>
<MtouchUseLlvm>true</MtouchUseLlvm>
<MtouchLink>SdkOnly</MtouchLink>
<CodesignProvision>SalveminiAppStoreMurk</CodesignProvision>
</PropertyGroup>
<ItemGroup>
<Compile Include="Main.cs" />
Expand Down Expand Up @@ -136,7 +136,7 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1560" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1931" />
<PackageReference Include="Xamarin.TestCloud.Agent" Version="0.21.9" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
<PackageReference Include="Ricardo.MWPhotoBrowser.iOS">
Expand Down
28 changes: 20 additions & 8 deletions SalveminiNetStandard/SalveminiApp/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,30 @@ public App()


var stopwatch = new Stopwatch(); stopwatch.Start();


//Set MainPage
if (Preferences.Get("isFirstTime", true)) //First time
{
MainPage = new Xamarin.Forms.NavigationPage(new FirstAccess.WelcomePage());
}
else if (Preferences.Get("Token", "") == "" || Preferences.Get("UserId", 0) == 0) //Not logged
//if (Preferences.Get("isFirstTime", true)) //First time
//{
// MainPage = new Xamarin.Forms.NavigationPage(new FirstAccess.WelcomePage());
//}
//else if (Preferences.Get("Token", "") == "" || Preferences.Get("UserId", 0) == 0) //Not logged
//{
// MainPage = new FirstAccess.Login();
//}
//else //Logged
//{
// MainPage = new TabPage();
//}

if (DateTime.Now >= new DateTime(2021, 1, 28))
{
MainPage = new FirstAccess.Login();
MainPage = new MyPage();
}
else //Logged
else
{
MainPage = new TabPage();
Preferences.Set("Token", ""); Preferences.Set("UserId", 0);
MainPage = new TabPage();
}

//var navigationPage = new NavigationPage(new iCringe.Home());
Expand Down
1 change: 1 addition & 0 deletions SalveminiNetStandard/SalveminiApp/Helpers/Costants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public static List<string> getDays()

public static async void Logout(bool fromSuperVip = false)
{
return;
//Clear preferences except firsttime
Preferences.Clear();
Preferences.Set("veryFirstTime", false); Preferences.Set("isFirstTime", false);
Expand Down
20 changes: 20 additions & 0 deletions SalveminiNetStandard/SalveminiApp/MyPage.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;

using Xamarin.Forms;

namespace SalveminiApp
{
public class MyPage : ContentPage
{
public MyPage()
{
Content = new StackLayout
{
Children = {
new Label { Text = "Il progetto SalveminiApp è stato momentaneamente sospeso dagli sviluppatori :(", VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand, HorizontalTextAlignment = TextAlignment.Center }
}
};
}
}
}

2 changes: 0 additions & 2 deletions SalveminiNetStandard/SalveminiApp/SalveminiApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
<PackageReference Include="Syncfusion.Xamarin.Core" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Licensing" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Xamarin.SfComboBox" Version="17.2.0.49" />
<PackageReference Include="CocosSharp" Version="1.7.1" />
<PackageReference Include="CocosSharp.Forms" Version="1.7.1" />
<PackageReference Include="System.Text.Json" Version="4.7.2" />
<PackageReference Include="Syncfusion.Xamarin.SfChart" Version="17.2.0.49" />
<PackageReference Include="DLToolkit.Forms.Controls.FlowListView" Version="2.0.11" />
Expand Down

0 comments on commit 523bba2

Please sign in to comment.