Commit c128ee46 by Javier Piris

Solucinado parte de los warning de toda la app

parent 54d54216
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1010" android:installLocation="preferExternal" package="com.seti.inutralia.inutralia" android:versionName="1.2"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1010" android:installLocation="preferExternal" package="com.seti.inutralia.inutralia" android:versionName="1.2">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" /> <uses-sdk android:minSdkVersion="21" />
<application android:icon="@drawable/icon" android:largeHeap="@bool/largeheap" android:label="iNutralia" /> <application android:icon="@drawable/icon" android:largeHeap="@bool/largeheap" android:label="iNutralia" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
</manifest> </manifest>
\ No newline at end of file
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.29.0" newVersion="4.2.29.0" />
</dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
</configuration> </configuration>
\ No newline at end of file
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause> <ConsolePause>false</ConsolePause>
<AndroidLinkMode>None</AndroidLinkMode> <AndroidLinkMode>None</AndroidLinkMode>
<AotAssemblies>false</AotAssemblies>
<EnableLLVM>false</EnableLLVM>
<BundleAssemblies>false</BundleAssemblies>
<AndroidSupportedAbis />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType> <DebugType>full</DebugType>
...@@ -101,6 +105,12 @@ ...@@ -101,6 +105,12 @@
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.IO.Compression" /> <Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http" /> <Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\monoandroid\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\monoandroid\System.Net.Http.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="Mono.Android" /> <Reference Include="Mono.Android" />
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Com.Airbnb.Android.Lottie" version="2.7.0" targetFramework="monoandroid90" /> <package id="Com.Airbnb.Android.Lottie" version="2.7.0" targetFramework="monoandroid90" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="monoandroid90" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="monoandroid90" /> <package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="monoandroid90" />
<package id="Microsoft.CSharp" version="4.5.0" targetFramework="monoandroid90" /> <package id="Microsoft.CSharp" version="4.5.0" targetFramework="monoandroid90" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="monoandroid90" />
<package id="Microsoft.NETCore.Platforms" version="2.2.0" targetFramework="monoandroid90" /> <package id="Microsoft.NETCore.Platforms" version="2.2.0" targetFramework="monoandroid90" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="monoandroid90" /> <package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="monoandroid90" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="monoandroid90" /> <package id="NETStandard.Library" version="2.0.3" targetFramework="monoandroid90" />
......
{ {
"images": [ "images": [
{ {
"idiom": "universal" "orientation": "portrait",
}, "extent": "full-screen",
{ "minimum-system-version": "7.0",
"scale": "1x",
"idiom": "universal"
},
{
"scale": "2x",
"idiom": "universal"
},
{
"scale": "3x",
"idiom": "universal"
},
{
"idiom": "iphone"
},
{
"scale": "1x",
"idiom": "iphone"
},
{
"scale": "2x", "scale": "2x",
"size": "0x0",
"idiom": "iphone" "idiom": "iphone"
}, },
{ {
"orientation": "portrait",
"extent": "full-screen",
"minimum-system-version": "7.0",
"subtype": "retina4", "subtype": "retina4",
"scale": "2x", "scale": "2x",
"size": "0x0",
"idiom": "iphone" "idiom": "iphone"
}, },
{ {
"scale": "3x", "orientation": "portrait",
"idiom": "iphone" "extent": "full-screen",
"minimum-system-version": "7.0",
"scale": "1x",
"size": "0x0",
"idiom": "ipad"
}, },
{ {
"orientation": "landscape",
"extent": "full-screen",
"minimum-system-version": "7.0",
"scale": "1x",
"size": "0x0",
"idiom": "ipad" "idiom": "ipad"
}, },
{ {
"scale": "1x", "orientation": "portrait",
"extent": "full-screen",
"minimum-system-version": "7.0",
"scale": "2x",
"size": "0x0",
"idiom": "ipad" "idiom": "ipad"
}, },
{ {
"orientation": "landscape",
"extent": "full-screen",
"minimum-system-version": "7.0",
"scale": "2x", "scale": "2x",
"size": "0x0",
"idiom": "ipad" "idiom": "ipad"
} }
], ],
"properties": {},
"info": { "info": {
"version": 1, "version": 1,
"author": "xcode" "author": ""
} }
} }
\ No newline at end of file
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
<key>UISupportedInterfaceOrientations</key> <key>UISupportedInterfaceOrientations</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array> </array>
<key>UISupportedInterfaceOrientations~ipad</key> <key>UISupportedInterfaceOrientations~ipad</key>
<array> <array>
...@@ -124,5 +126,7 @@ ...@@ -124,5 +126,7 @@
<string>iNutralia</string> <string>iNutralia</string>
<key>UIStatusBarHidden</key> <key>UIStatusBarHidden</key>
<true/> <true/>
<key>XSLaunchImageAssets</key>
<string>Images.xcassets/LaunchImages.launchimage</string>
</dict> </dict>
</plist> </plist>
{ {
"images": [ "images": [
{ {
"filename": "Icon-Small-40.png",
"size": "20x20",
"scale": "2x", "scale": "2x",
"idiom": "iphone" "size": "20x20",
"idiom": "iphone",
"filename": "Icon-Small-40.png"
}, },
{ {
"filename": "Icon-60.png",
"size": "20x20",
"scale": "3x", "scale": "3x",
"idiom": "iphone" "size": "20x20",
"idiom": "iphone",
"filename": "Icon-60.png"
}, },
{ {
"filename": "Icon-Small@2x.png",
"size": "29x29",
"scale": "2x", "scale": "2x",
"idiom": "iphone" "size": "29x29",
"idiom": "iphone",
"filename": "Icon-Small@2x.png"
}, },
{ {
"filename": "Icon-Small@3x.png",
"size": "29x29",
"scale": "3x", "scale": "3x",
"idiom": "iphone" "size": "29x29",
"idiom": "iphone",
"filename": "Icon-Small@3x.png"
}, },
{ {
"filename": "Icon-Small-40@2x.png",
"size": "40x40",
"scale": "2x", "scale": "2x",
"idiom": "iphone" "size": "40x40",
"idiom": "iphone",
"filename": "Icon-Small-40@2x.png"
}, },
{ {
"filename": "Icon-Small-40@3x.png",
"size": "40x40",
"scale": "3x", "scale": "3x",
"idiom": "iphone" "size": "40x40",
"idiom": "iphone",
"filename": "Icon-Small-40@3x.png"
}, },
{ {
"filename": "Icon-60@2x.png",
"size": "60x60",
"scale": "2x", "scale": "2x",
"idiom": "iphone" "size": "60x60",
"idiom": "iphone",
"filename": "Icon-60@2x.png"
}, },
{ {
"filename": "Icon-60@3x.png",
"size": "60x60",
"scale": "3x", "scale": "3x",
"idiom": "iphone" "size": "60x60",
"idiom": "iphone",
"filename": "Icon-60@3x.png"
}, },
{ {
"size": "20x20",
"scale": "1x", "scale": "1x",
"size": "20x20",
"idiom": "ipad" "idiom": "ipad"
}, },
{ {
"filename": "Icon-Small-40.png",
"size": "20x20",
"scale": "2x", "scale": "2x",
"idiom": "ipad" "size": "20x20",
"idiom": "ipad",
"filename": "Icon-Small-40.png"
}, },
{ {
"filename": "Icon-Small.png",
"size": "29x29",
"scale": "1x", "scale": "1x",
"idiom": "ipad" "size": "29x29",
"idiom": "ipad",
"filename": "Icon-Small.png"
}, },
{ {
"filename": "Icon-Small@2x.png",
"size": "29x29",
"scale": "2x", "scale": "2x",
"idiom": "ipad" "size": "29x29",
"idiom": "ipad",
"filename": "Icon-Small@2x.png"
}, },
{ {
"filename": "Icon-Small-40.png",
"size": "40x40",
"scale": "1x", "scale": "1x",
"idiom": "ipad" "size": "40x40",
"idiom": "ipad",
"filename": "Icon-Small-40.png"
}, },
{ {
"filename": "Icon-Small-40@2x.png",
"size": "40x40",
"scale": "2x", "scale": "2x",
"idiom": "ipad" "size": "40x40",
"idiom": "ipad",
"filename": "Icon-Small-40@2x.png"
}, },
{ {
"filename": "icon-167.png",
"size": "83.5x83.5",
"scale": "2x", "scale": "2x",
"idiom": "ipad" "size": "83.5x83.5",
"idiom": "ipad",
"filename": "icon-167.png"
}, },
{ {
"filename": "Icon-76.png",
"size": "76x76",
"scale": "1x", "scale": "1x",
"idiom": "ipad" "size": "76x76",
"idiom": "ipad",
"filename": "Icon-76.png"
}, },
{ {
"filename": "Icon-76@2x.png",
"size": "76x76",
"scale": "2x", "scale": "2x",
"idiom": "ipad" "size": "76x76",
"idiom": "ipad",
"filename": "Icon-76@2x.png"
}, },
{ {
"filename": "iTunesArtwork@2x.png",
"size": "1024x1024",
"scale": "1x", "scale": "1x",
"idiom": "ios-marketing" "size": "1024x1024",
"idiom": "ios-marketing",
"filename": "iTunesArtwork@2x.png"
}, },
{ {
"role": "notificationCenter", "role": "notificationCenter",
"filename": "Icon-48.png",
"size": "24x24",
"subtype": "38mm", "subtype": "38mm",
"scale": "2x", "scale": "2x",
"idiom": "watch" "size": "24x24",
"idiom": "watch",
"filename": "Icon-48.png"
}, },
{ {
"role": "notificationCenter", "role": "notificationCenter",
"filename": "Icon-55.png",
"size": "27.5x27.5",
"subtype": "42mm", "subtype": "42mm",
"scale": "2x", "scale": "2x",
"idiom": "watch" "size": "27.5x27.5",
"idiom": "watch",
"filename": "Icon-55.png"
}, },
{ {
"role": "companionSettings", "role": "companionSettings",
"filename": "Icon-58.png",
"size": "29x29",
"scale": "2x", "scale": "2x",
"idiom": "watch" "size": "29x29",
"idiom": "watch",
"filename": "Icon-58.png"
}, },
{ {
"role": "companionSettings", "role": "companionSettings",
"filename": "Icon-87.png",
"size": "29x29",
"scale": "3x", "scale": "3x",
"idiom": "watch" "size": "29x29",
"idiom": "watch",
"filename": "Icon-87.png"
}, },
{ {
"role": "appLauncher", "role": "appLauncher",
"filename": "Icon-80.png",
"size": "40x40",
"subtype": "38mm", "subtype": "38mm",
"scale": "2x", "scale": "2x",
"idiom": "watch" "size": "40x40",
"idiom": "watch",
"filename": "Icon-80.png"
}, },
{ {
"role": "longLook", "role": "longLook",
"size": "44x44",
"subtype": "42mm", "subtype": "42mm",
"scale": "2x", "scale": "2x",
"size": "44x44",
"idiom": "watch" "idiom": "watch"
}, },
{ {
"role": "quickLook", "role": "quickLook",
"filename": "Icon-172.png",
"size": "86x86",
"subtype": "38mm", "subtype": "38mm",
"scale": "2x", "scale": "2x",
"idiom": "watch" "size": "86x86",
"idiom": "watch",
"filename": "Icon-172.png"
}, },
{ {
"role": "quickLook", "role": "quickLook",
"filename": "Icon-196.png",
"size": "98x98",
"subtype": "42mm", "subtype": "42mm",
"scale": "2x", "scale": "2x",
"idiom": "watch" "size": "98x98",
"idiom": "watch",
"filename": "Icon-196.png"
}, },
{ {
"filename": "Icon-16.png",
"size": "16x16",
"scale": "1x", "scale": "1x",
"idiom": "mac" "size": "16x16",
"idiom": "mac",
"filename": "Icon-16.png"
}, },
{ {
"filename": "Icon-32.png",
"size": "16x16",
"scale": "2x", "scale": "2x",
"idiom": "mac" "size": "16x16",
"idiom": "mac",
"filename": "Icon-32.png"
}, },
{ {
"filename": "Icon-32.png",
"size": "32x32",
"scale": "1x", "scale": "1x",
"idiom": "mac" "size": "32x32",
"idiom": "mac",
"filename": "Icon-32.png"
}, },
{ {
"filename": "Icon-64.png",
"size": "32x32",
"scale": "2x", "scale": "2x",
"idiom": "mac" "size": "32x32",
"idiom": "mac",
"filename": "Icon-64.png"
}, },
{ {
"filename": "Icon-128.png",
"size": "128x128",
"scale": "1x", "scale": "1x",
"idiom": "mac" "size": "128x128",
"idiom": "mac",
"filename": "Icon-128.png"
}, },
{ {
"filename": "Icon-256.png",
"size": "128x128",
"scale": "2x", "scale": "2x",
"idiom": "mac" "size": "128x128",
"idiom": "mac",
"filename": "Icon-256.png"
}, },
{ {
"filename": "Icon-256.png",
"size": "256x256",
"scale": "1x", "scale": "1x",
"idiom": "mac" "size": "256x256",
"idiom": "mac",
"filename": "Icon-256.png"
}, },
{ {
"filename": "Icon-512.png",
"size": "256x256",
"scale": "2x", "scale": "2x",
"idiom": "mac" "size": "256x256",
"idiom": "mac",
"filename": "Icon-512.png"
}, },
{ {
"filename": "iTunesArtwork.png",
"size": "512x512",
"scale": "1x", "scale": "1x",
"idiom": "mac" "size": "512x512",
"idiom": "mac",
"filename": "iTunesArtwork.png"
}, },
{ {
"filename": "iTunesArtwork@2x.png", "scale": "2x",
"size": "512x512", "size": "512x512",
"idiom": "mac",
"filename": "iTunesArtwork@2x.png"
},
{
"role": "appLauncher",
"subtype": "40mm",
"scale": "2x",
"size": "44x44",
"idiom": "watch"
},
{
"role": "appLauncher",
"subtype": "44mm",
"scale": "2x", "scale": "2x",
"idiom": "mac" "size": "50x50",
"idiom": "watch"
},
{
"role": "quickLook",
"subtype": "44mm",
"scale": "2x",
"size": "108x108",
"idiom": "watch"
},
{
"scale": "1x",
"size": "1024x1024",
"idiom": "watch-marketing"
} }
], ],
"properties": {},
"info": { "info": {
"version": 1, "version": 1,
"author": "xcode" "author": "xcode"
......
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.29.0" newVersion="4.2.29.0" />
</dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
</configuration> </configuration>
\ No newline at end of file
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
<CodesignExtraArgs /> <CodesignExtraArgs />
<CodesignResourceRules /> <CodesignResourceRules />
<CodesignEntitlements /> <CodesignEntitlements />
<OptimizePNGs>true</OptimizePNGs>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>full</DebugType> <DebugType>full</DebugType>
...@@ -116,6 +117,16 @@ ...@@ -116,6 +117,16 @@
<MtouchLink>None</MtouchLink> <MtouchLink>None</MtouchLink>
<MtouchDebug>true</MtouchDebug> <MtouchDebug>true</MtouchDebug>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup>
<StartupObject>
</StartupObject>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<AppExtensionDebugBundleId />
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="FFImageLoading, Version=2.4.2.832, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="FFImageLoading, Version=2.4.2.832, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Xamarin.FFImageLoading.2.4.2.832\lib\Xamarin.iOS10\FFImageLoading.dll</HintPath> <HintPath>..\packages\Xamarin.FFImageLoading.2.4.2.832\lib\Xamarin.iOS10\FFImageLoading.dll</HintPath>
...@@ -160,6 +171,12 @@ ...@@ -160,6 +171,12 @@
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.IO.Compression" /> <Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http" /> <Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\Xamarin.iOS10\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\Xamarin.iOS10\System.Net.Http.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="UXDivers.Artina.Shared, Version=2.0.35.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="UXDivers.Artina.Shared, Version=2.0.35.0, Culture=neutral, processorArchitecture=MSIL">
...@@ -199,6 +216,9 @@ ...@@ -199,6 +216,9 @@
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ImageAsset Include="Images.xcassets\LaunchImages.launchimage\Contents.json">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json"> <ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json">
<Visible>false</Visible> <Visible>false</Visible>
</ImageAsset> </ImageAsset>
...@@ -306,6 +326,8 @@ ...@@ -306,6 +326,8 @@
<None Include="app.config" /> <None Include="app.config" />
<None Include="Info.plist" /> <None Include="Info.plist" />
<None Include="Entitlements.plist" /> <None Include="Entitlements.plist" />
<ITunesArtwork Include="iTunesArtwork%402x" />
<ITunesArtwork Include="iTunesArtwork" />
<None Include="packages.config" /> <None Include="packages.config" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
<packages> <packages>
<package id="Com.Airbnb.iOS.Lottie" version="2.5.6" targetFramework="xamarinios10" /> <package id="Com.Airbnb.iOS.Lottie" version="2.5.6" targetFramework="xamarinios10" />
<package id="Com.Airbnb.Xamarin.Forms.Lottie" version="2.7.0" targetFramework="xamarinios10" /> <package id="Com.Airbnb.Xamarin.Forms.Lottie" version="2.7.0" targetFramework="xamarinios10" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="xamarinios10" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="xamarinios10" /> <package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="xamarinios10" />
<package id="Microsoft.CSharp" version="4.5.0" targetFramework="xamarinios10" /> <package id="Microsoft.CSharp" version="4.5.0" targetFramework="xamarinios10" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="xamarinios10" />
<package id="Microsoft.NETCore.Platforms" version="2.2.0" targetFramework="xamarinios10" /> <package id="Microsoft.NETCore.Platforms" version="2.2.0" targetFramework="xamarinios10" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="xamarinios10" /> <package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="xamarinios10" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="xamarinios10" /> <package id="NETStandard.Library" version="2.0.3" targetFramework="xamarinios10" />
......
namespace inutralia.API namespace inutralia.API
{ {
using Xamarin.Forms;
class Constants class Constants
{ {
public static readonly string ApiUrlTemplate = public static readonly string ApiUrlTemplate = "http://i20.inutralia.com/api/v1/{0}?api-key=7745289b-f09c-4e0b-89d1-bb59c599c85e";
Device.OnPlatform("http://i20.inutralia.com/api/v1/{0}?api-key=7745289b-f09c-4e0b-89d1-bb59c599c85e",
"http://i20.inutralia.com/api/v1/{0}?api-key=7745289b-f09c-4e0b-89d1-bb59c599c85e",
"http://i20.inutralia.com/api/v1/{0}?api-key=7745289b-f09c-4e0b-89d1-bb59c599c85e");
// Url redirect a DEL SUPER // Url redirect a DEL SUPER
public const string ApiUrl = "https://delsuper.es/inutralia?ids="; public const string ApiUrl = "https://delsuper.es/inutralia?ids=";
} }
} }
...@@ -106,7 +106,7 @@ namespace inutralia.API ...@@ -106,7 +106,7 @@ namespace inutralia.API
{ {
JsonConvert.PopulateObject(responseContent, item, _serializerSettings); JsonConvert.PopulateObject(responseContent, item, _serializerSettings);
} }
catch (Exception e) catch (Exception)
{ {
return false; return false;
} }
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
Recipes = new ObservableRangeCollection<Recipe>(recipes); Recipes = new ObservableRangeCollection<Recipe>(recipes);
} //endif } //endif
} }
catch (System.Exception e) catch (System.Exception)
{ {
Recipes.Clear(); Recipes.Clear();
} }
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
groupList.Add(new RecipeOptionGroupViewModel(group)); groupList.Add(new RecipeOptionGroupViewModel(group));
Groups = groupList; Groups = groupList;
} }
catch (System.Exception e) catch (System.Exception)
{ {
Groups.Clear(); Groups.Clear();
} }
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
{ {
questions = await App.API.RefreshListAsync<TrivialQuestion>(); questions = await App.API.RefreshListAsync<TrivialQuestion>();
} }
catch (Exception e) { } catch (Exception) { }
if (questions == null) questions = new List<TrivialQuestion>() if (questions == null) questions = new List<TrivialQuestion>()
{ {
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
{ {
Games = new ObservableRangeCollection<TrivialGame>(await App.LocalData.RefreshListAsync<TrivialGame>()); Games = new ObservableRangeCollection<TrivialGame>(await App.LocalData.RefreshListAsync<TrivialGame>());
} }
catch (System.Exception e) catch (System.Exception)
{ {
Games.Clear(); Games.Clear();
} }
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
} }
catch (Exception err) catch (Exception)
{ {
await DisplayAlert("Error", "El usuario o la contraseña no son correctos", "Entendido"); await DisplayAlert("Error", "El usuario o la contraseña no son correctos", "Entendido");
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
base.OnAppearing(); base.OnAppearing();
} }
catch (Exception e) { } catch (Exception) { }
} }
async void OnSaveButtonClicked(object sender, EventArgs e) async void OnSaveButtonClicked(object sender, EventArgs e)
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
(App.Current.MainPage as RootPage).Navigate<HomeView>(); (App.Current.MainPage as RootPage).Navigate<HomeView>();
} }
catch (Exception err) catch (Exception)
{ {
await DisplayAlert("Error", "Se ha producido un error. Por favbor, intentelo más tarde", "Entendido"); await DisplayAlert("Error", "Se ha producido un error. Por favbor, intentelo más tarde", "Entendido");
} }
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
var target = vm.ListMessages[vm.ListMessages.Count - 1]; var target = vm.ListMessages[vm.ListMessages.Count - 1];
MessagesListView.ScrollTo(target, ScrollToPosition.End, true); MessagesListView.ScrollTo(target, ScrollToPosition.End, true);
}; };
} }
protected void ItemTapped(object sender, ItemTappedEventArgs e) protected void ItemTapped(object sender, ItemTappedEventArgs e)
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
InitializeComponent(); InitializeComponent();
} }
catch (Exception e) { } catch (Exception) { }
} }
protected override async void OnAppearing() protected override async void OnAppearing()
{ {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
/// <summary> /// <summary>
/// Llamado cuando esta vista se muestra /// Llamado cuando esta vista se muestra
/// </summary> /// </summary>
protected override async void OnAppearing() protected override void OnAppearing()
{ {
base.OnAppearing(); base.OnAppearing();
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.5.0.0" /> <bindingRedirect oldVersion="0.0.0.0" newVersion="1.5.0.0" />
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment