Merge branch 'vnext' of github.com:pazof/yavsc into vnext

main
Paul Schneider 9 years ago
commit 06f34ae36a
351 changed files with 2647 additions and 2726 deletions

@ -1,147 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{2B32E0CF-D62E-4267-91F3-50F514DCD6D1}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>App2.UWP</RootNamespace>
<AssemblyName>App2.UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10586.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>Windows_TemporaryKey.pfx</PackageCertificateKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Windows_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\App2\App2.csproj">
<Project>{A0815650-0A0A-47B0-8826-771F0E1AD137}</Project>
<Name>App2</Name>
</ProjectReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

@ -1,148 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CD2AF7BE-736C-4E63-9C7C-B733F921B89C}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>App2.Windows</RootNamespace>
<AssemblyName>App2.Windows</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<SynthesizeLinkMetadata>true</SynthesizeLinkMetadata>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>Windows_TemporaryKey.pfx</PackageCertificateKeyFile>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Windows_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Logo.scale-100.png" />
<Content Include="Assets\SmallLogo.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
<Content Include="Assets\StoreLogo.scale-100.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<SubType>Designer</SubType>
</ApplicationDefinition>
<EmbeddedResource Include="MainPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
<VisualStudioVersion>12.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

@ -1,154 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>App2.iOS</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>App2iOS</AssemblyName>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchArch>i386, x86_64</MtouchArch>
<MtouchLink>None</MtouchLink>
<MtouchDebug>true</MtouchDebug>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchLink>None</MtouchLink>
<MtouchArch>i386, x86_64</MtouchArch>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhone\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>true</MtouchDebug>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\iPhone\Ad-Hoc</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<BuildIpa>True</BuildIpa>
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\iPhone\AppStore</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<CodesignProvision>Automatic:AppStore</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<Compile Include="AppDelegate.cs" />
<None Include="Entitlements.plist" />
<None Include="Info.plist" />
<Compile Include="Properties\AssemblyInfo.cs" />
<ITunesArtwork Include="iTunesArtwork" />
<ITunesArtwork Include="iTunesArtwork@2x" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Default-568h%402x.png" />
<BundleResource Include="Resources\Default-Portrait.png" />
<BundleResource Include="Resources\Default-Portrait%402x.png" />
<BundleResource Include="Resources\Default.png" />
<BundleResource Include="Resources\Default%402x.png" />
<BundleResource Include="Resources\Icon-60%402x.png" />
<BundleResource Include="Resources\Icon-60%403x.png" />
<BundleResource Include="Resources\Icon-76.png" />
<BundleResource Include="Resources\Icon-76%402x.png" />
<BundleResource Include="Resources\Icon-Small-40.png" />
<BundleResource Include="Resources\Icon-Small-40%402x.png" />
<BundleResource Include="Resources\Icon-Small-40%403x.png" />
<BundleResource Include="Resources\Icon-Small.png" />
<BundleResource Include="Resources\Icon-Small%402x.png" />
<BundleResource Include="Resources\Icon-Small%403x.png" />
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.2.0.0.6482\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.2.0.0.6482\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.2.0.0.6482\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Xamarin.Forms.2.0.0.6482\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\App2\App2.csproj">
<Project>{A0815650-0A0A-47B0-8826-771F0E1AD137}</Project>
<Name>App2</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="..\..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>Ce projet fait référence à des packages NuGet qui sont manquants sur cet ordinateur. Utilisez l'option de restauration des packages NuGet pour les télécharger. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkID=322105. Le fichier manquant est : {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
</Target>
</Project>

@ -36,9 +36,19 @@
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Lua|AnyCPU'">
<OutputPath>bin\Lua\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Compile Include="IAccountBalance.cs" />
<Compile Include="IApplicationUser.cs" />
<Compile Include="IBaseTrackedEntity.cs" />
<Compile Include="IBlog.cs" />
<Compile Include="ICircle.cs" />
<Compile Include="ICircleMember.cs" />
@ -73,4 +83,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>

@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookAStar.Droid", "BookAStar\BookAStar.Droid\BookAStar.Droid.csproj", "{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZicMoove.Droid", "ZicMoove\ZicMoove.Droid\ZicMoove.Droid.csproj", "{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookAStar.iOS", "BookAStar\BookAStar.iOS\BookAStar.iOS.csproj", "{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZicMoove.iOS", "ZicMoove\ZicMoove.iOS\ZicMoove.iOS.csproj", "{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookAStar", "BookAStar\BookAStar\BookAStar.csproj", "{A0815650-0A0A-47B0-8826-771F0E1AD137}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZicMoove", "ZicMoove\ZicMoove\ZicMoove.csproj", "{A0815650-0A0A-47B0-8826-771F0E1AD137}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YavscLib", "YavscLib\YavscLib.csproj", "{67F9D3A8-F71E-4428-913F-C37AE82CDB24}"
EndProject
@ -31,6 +31,12 @@ Global
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Lua|Any CPU = Lua|Any CPU
Lua|ARM = Lua|ARM
Lua|iPhone = Lua|iPhone
Lua|iPhoneSimulator = Lua|iPhoneSimulator
Lua|x64 = Lua|x64
Lua|x86 = Lua|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|iPhone = Release|iPhone
@ -93,6 +99,24 @@ Global
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Debug|x86.ActiveCfg = Debug|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Debug|x86.Build.0 = Debug|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Debug|x86.Deploy.0 = Debug|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|Any CPU.ActiveCfg = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|Any CPU.Build.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|Any CPU.Deploy.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|ARM.ActiveCfg = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|ARM.Build.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|ARM.Deploy.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|iPhone.ActiveCfg = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|iPhone.Build.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|iPhone.Deploy.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|iPhoneSimulator.ActiveCfg = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|iPhoneSimulator.Build.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|iPhoneSimulator.Deploy.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|x64.ActiveCfg = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|x64.Build.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|x64.Deploy.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|x86.ActiveCfg = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|x86.Build.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Lua|x86.Deploy.0 = Lua|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|Any CPU.Build.0 = Release|Any CPU
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|Any CPU.Deploy.0 = Release|Any CPU
@ -135,6 +159,12 @@ Global
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Debug|x64.ActiveCfg = Debug|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Debug|x86.ActiveCfg = Debug|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Lua|Any CPU.ActiveCfg = Lua|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Lua|ARM.ActiveCfg = Lua|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Lua|iPhone.ActiveCfg = Lua|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Lua|iPhoneSimulator.ActiveCfg = Lua|iPhoneSimulator
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Lua|x64.ActiveCfg = Lua|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Lua|x86.ActiveCfg = Lua|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|Any CPU.ActiveCfg = Release|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|ARM.ActiveCfg = Release|iPhone
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|iPhone.ActiveCfg = Release|iPhone
@ -179,6 +209,18 @@ Global
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Debug|x64.Build.0 = Debug|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Debug|x86.ActiveCfg = Debug|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Debug|x86.Build.0 = Debug|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|Any CPU.ActiveCfg = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|Any CPU.Build.0 = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|ARM.ActiveCfg = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|ARM.Build.0 = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|iPhone.ActiveCfg = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|iPhone.Build.0 = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|iPhoneSimulator.ActiveCfg = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|iPhoneSimulator.Build.0 = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|x64.ActiveCfg = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|x64.Build.0 = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|x86.ActiveCfg = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Lua|x86.Build.0 = Lua|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|Any CPU.Build.0 = Release|Any CPU
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|ARM.ActiveCfg = Release|Any CPU
@ -227,6 +269,18 @@ Global
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Debug|x64.Build.0 = Debug|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Debug|x86.ActiveCfg = Debug|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Debug|x86.Build.0 = Debug|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|Any CPU.ActiveCfg = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|Any CPU.Build.0 = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|ARM.ActiveCfg = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|ARM.Build.0 = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|iPhone.ActiveCfg = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|iPhone.Build.0 = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|iPhoneSimulator.ActiveCfg = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|iPhoneSimulator.Build.0 = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|x64.ActiveCfg = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|x64.Build.0 = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|x86.ActiveCfg = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Lua|x86.Build.0 = Lua|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|Any CPU.ActiveCfg = Release|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|Any CPU.Build.0 = Release|Any CPU
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|ARM.ActiveCfg = Release|Any CPU

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Accounts;
namespace BookAStar.Droid.Accounts
namespace ZicMoove.Droid.Accounts
{
class YavscAccountAuthenticator : AbstractAccountAuthenticator
{

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

@ -3,7 +3,7 @@
using Plugin.Settings;
using Plugin.Settings.Abstractions;
namespace BookAStar.Droid.Helpers
namespace ZicMoove.Droid.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any

@ -25,7 +25,7 @@ using System.Threading.Tasks;
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using BookAStar;
using ZicMoove;
namespace Yavsc.Helpers
{

@ -5,9 +5,9 @@ using System.Collections.Specialized;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Text;
using BookAStar.Model.Auth.Account;
using ZicMoove.Model.Auth.Account;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
public static class YavscHelpers

@ -10,7 +10,7 @@ using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace BookAStar.Droid.Interfaces
namespace ZicMoove.Droid.Interfaces
{
interface IGCMessageHandler
{

@ -35,19 +35,21 @@ using XLabs.Serialization.JsonNET;
using Yavsc.Helpers;
using Yavsc.Models.Identity;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
using Android.Runtime;
using Android.Support.V4.App;
using Android.Support.V4.Content;
using ZicMoove.Interfaces;
using Data;
using Droid.OAuth;
using Helpers;
using Interfaces;
using Model.Auth.Account;
using static Android.Manifest;
using Settings;
[Activity(Name = "fr.pschneider.bas.MainActivity", Label = "BookAStar", Theme = "@style/MainTheme", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[Activity(Name = "fr.pschneider.bas.MainActivity", Label = "ZicMoove", Theme = "@style/MainTheme", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity :
// global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity,
@ -102,7 +104,7 @@ namespace BookAStar.Droid
}
};
var fapp = new BookAStar.App(this);
var fapp = new ZicMoove.App(this);
LoadApplication(fapp);
@ -306,7 +308,7 @@ namespace BookAStar.Droid
using (var reader = new StreamReader(exception.Response.GetResponseStream()))
{
responseText = reader.ReadToEnd();
Log.Debug("BookAStar", responseText);
Log.Debug("ZicMoove", responseText);
}
}
}
@ -323,7 +325,7 @@ namespace BookAStar.Droid
public void AddAccount()
{
var auth = new YaOAuth2Authenticator(
clientId: "d9be5e97-c19d-42e4-b444-0e65863b19e1",
clientId: Constants.APIKey,
clientSecret: "blouh",
scope: "profile",
authorizeUrl: new Uri(Constants.AuthorizeUrl),

@ -12,7 +12,7 @@ using Android.Widget;
using Android.Webkit;
using Java.Interop;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
public class JsBridgeMarkdown : Java.Lang.Object
{

@ -15,7 +15,7 @@ using XLabs.Platform.Mvvm;
using XLabs.Forms;
using static Android.Views.View;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
class MDContextMenu : AppCompatDialog
{

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Webkit;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
class MDWebView : WebView
{

@ -9,7 +9,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
using System;
using System.Collections.Generic;
@ -17,7 +17,7 @@ using System.Linq;
using System.Text;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorTemplatePreprocessor", "4.2.1.62")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorTemplatePreprocessor", "4.2.2.11")]
public partial class MarkdownEditor : MarkdownEditorBase
{
@ -171,23 +171,23 @@ WriteLiteral(">\r\n var toolbarOptions = [\r\n [\'bold\', \'ital
"\'header\': 1 }, { \'header\': 2 }, { \'header\': 3 }], // custom button" +
" values\r\n [{ \'list\': \'ordered\' }, { \'list\': \'bullet\' }],\r\n [{ \'indent\'" +
": \'-1\' }, { \'indent\': \'+1\' }], // outdent/indent\r\n [\'link\', \'image" +
"\', \'video\'],\r\n [\'clean\'] // remove " +
"formatting button\r\n ];\r\n\r\n var showImageUI = function (val" +
"ue) {\r\n if (value) {\r\n var href = prompt(\'Ente" +
"r the URL\');\r\n this.quill.format(\'image\', href);\r\n " +
" } else {\r\n this.quill.format(\'image\', false);\r\n " +
" }\r\n };\r\n\r\n $(document).ready(function () {\r\n " +
" var quill = new Quill(\'#bubble-container\', {\r\n modul" +
"es: {\r\n toolbar: toolbarOptions\r\n },\r\n" +
" placeholder: \'Composez votre texte ...\',\r\n " +
" theme: \'snow\'\r\n });\r\n\r\n function getMD() {\r\n " +
" return markdownize($(\'#bubble-container div.ql-editor\').html())\r" +
"\n }\r\n quill.on(\'text-change\', function (delta, old" +
"Delta, source) {\r\n if (source === \"user\") {\r\n " +
" contentEdited(getMD());\r\n }\r\n });\r\n " +
" var toolbar = quill.getModule(\'toolbar\');\r\n toolbar." +
"addHandler(\'image\', showImageUI);\r\n jsLoaded();\r\n });\r" +
"\n </script>\r\n");
"\', \'audio\', \'video\'],\r\n [\'clean\'] /" +
"/ remove formatting button\r\n ];\r\n\r\n var showImageUI = func" +
"tion (value) {\r\n if (value) {\r\n var href = pro" +
"mpt(\'Enter the URL\');\r\n this.quill.format(\'image\', href);\r\n " +
" } else {\r\n this.quill.format(\'image\', false);\r\n" +
" }\r\n };\r\n\r\n $(document).ready(function () {" +
"\r\n var quill = new Quill(\'#bubble-container\', {\r\n " +
" modules: {\r\n toolbar: toolbarOptions\r\n " +
" },\r\n placeholder: \'Composez votre texte ...\',\r\n " +
" theme: \'snow\'\r\n });\r\n\r\n function getMD(" +
") {\r\n return markdownize($(\'#bubble-container div.ql-editor\')" +
".html())\r\n }\r\n quill.on(\'text-change\', function (d" +
"elta, oldDelta, source) {\r\n if (source === \"user\") {\r\n " +
" contentEdited(getMD());\r\n }\r\n " +
" });\r\n var toolbar = quill.getModule(\'toolbar\');\r\n " +
" toolbar.addHandler(\'image\', showImageUI);\r\n jsLoaded();\r\n " +
" });\r\n </script>\r\n");
#line 86 "MarkdownEditor.cshtml"

@ -48,7 +48,7 @@
[{ 'header': 1 }, { 'header': 2 }, { 'header': 3 }], // custom button values
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
[{ 'indent': '-1' }, { 'indent': '+1' }], // outdent/indent
['link', 'image', 'video'],
['link', 'image', 'audio', 'video'],
['clean'] // remove formatting button
];

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Graphics;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
public class MarkdownViewModel
{

@ -1,15 +1,15 @@
using BookAStar.Views;
using ZicMoove.Views;
using Android.Webkit;
using Xamarin.Forms.Platform.Android;
using BookAStar.Droid;
using ZicMoove.Droid;
using System;
using Java.Interop;
using System.ComponentModel;
using Android.Views;
[assembly: Xamarin.Forms.ExportRenderer(typeof(MarkdownView), typeof(MarkdownViewRenderer))]
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
using Markdown;
using XLabs.Forms;

@ -11,7 +11,7 @@ using Android.Views;
using Android.Widget;
using Android.Webkit;
namespace BookAStar.Droid.Markdown
namespace ZicMoove.Droid.Markdown
{
class MarkdownWebChromeClient : WebChromeClient
{

@ -6,8 +6,8 @@ using Xamarin.Utilities;
using System.Net;
using System.Text;
using Xamarin.Auth;
using BookAStar.Droid.OAuth.Xamarin.Utilities;
namespace BookAStar.Droid.OAuth {
using ZicMoove.Droid.OAuth.Xamarin.Utilities;
namespace ZicMoove.Droid.OAuth {
public class YaOAuth2Authenticator : WebRedirectAuthenticator
{

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="fr.pschneider.bas" android:installLocation="auto">
<uses-sdk android:minSdkVersion="15" />
<application android:allowBackup="true" android:label="Booking Star" android:icon="@drawable/icon" android:theme="@style/MainTheme" android:configChanges="navigation|screenLayout|orientation|screenSize|smallestScreenSize">
<application android:allowBackup="true" android:label="@string/app_name" android:icon="@drawable/icon" android:theme="@style/MainTheme" android:configChanges="navigation|screenLayout|orientation|screenSize|smallestScreenSize">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyBLSEDhZixwpHDsWmO2pKwgGDJReoTuQ7A" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">

@ -6,11 +6,11 @@ using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BookAStar.Droid")]
[assembly: AssemblyTitle("ZicMoove.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BookAStar.Droid")]
[assembly: AssemblyProduct("ZicMoove.Droid")]
[assembly: AssemblyCopyright("Copyright © Paul Albert Schneider 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("fr")]

@ -29,18 +29,18 @@ using XLabs.Enums;
using XLabs.Forms.Extensions;
using Color = Xamarin.Forms.Color;
using View = Android.Views.View;
using BookAStar.Rendering;
using BookAStar.Views;
using ZicMoove.Rendering;
using ZicMoove.Views;
using Xamarin.Forms.Platform.Android.AppCompat;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using System.IO;
using BookAStar.Helpers;
using ZicMoove.Helpers;
using System.Reflection;
using System.Threading;
[assembly: ExportRenderer(typeof(ImageButton), typeof(ImageButtonRenderer))]
namespace BookAStar.Rendering
namespace ZicMoove.Rendering
{
/// <summary>
/// Draws a button on the Android platform with the image shown in the right

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Booking star</string>
<string name="app_name">ZicMoove</string>
<string name="send_to_app_name">Vers les étoiles</string>
<string name="yavscIdentRemoved">Identification supprimée</string>
<string name="yavscAccountTypeName">Booking star</string>
<string name="yavscAccountTypeName">ZicMoove</string>
<string name="cancel">Annuler</string>
<string name="Settings">Paramètres</string>
<string name="Title">Title</string>
@ -15,8 +15,8 @@
<string name="url_hint">url_hint</string>
<string name="picture">picture</string>
<string name="google_app_id">325408689282</string>
<string name="pref_screen_title">Comptes Booking Star</string>
<string name="account_authenticator_label">Comptes Booking Star</string>
<string name="pref_screen_title">Comptes ZicMoove</string>
<string name="account_authenticator_label">Comptes ZicMoove</string>
<string name="copy">Copier</string>
<string name="past">Coller</string>
@ -33,6 +33,6 @@
<string name="accounts">Comptes</string>
<string name="bookingstar_accounts_pref_screen_summary">
Préférences des comptes Booking Star
Préférences des comptes ZicMoove
</string>
</resources>

@ -10,7 +10,7 @@ using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Activity(Name= "fr.pschneider.bas.SendFilesActivity", Label = "SendFilesActivity")]
public class SendFilesActivity : Activity

@ -9,9 +9,9 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BookAStar.Droid.OAuth;
using ZicMoove.Droid.OAuth;
namespace BookAStar.Droid.Services
namespace ZicMoove.Droid.Services
{
[Service(
Name = "fr.pschneider.bas.AccountChooserService",

@ -9,13 +9,13 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BookAStar.Droid.Interfaces;
using ZicMoove.Droid.Interfaces;
using Newtonsoft.Json;
using BookAStar.Model.Social;
using BookAStar.Data;
using BookAStar.Model;
using ZicMoove.Model.Social;
using ZicMoove.Data;
using ZicMoove.Model;
namespace BookAStar.Droid.Services.GCMHandlers
namespace ZicMoove.Droid.Services.GCMHandlers
{
class BookQueryGCMHandler : GCMessageHandler
{
@ -26,6 +26,12 @@ namespace BookAStar.Droid.Services.GCMHandlers
}
/// <summary>
/// Prend en charge le message push
/// contenant une nouvelle demande de rendez-vous
/// </summary>
/// <param name="from"></param>
/// <param name="data"></param>
public override void Handle(string from, Bundle data)
{
var locationJson = data.GetString("Location");
@ -48,7 +54,10 @@ namespace BookAStar.Droid.Services.GCMHandlers
}
SendBookQueryNotification(bq);
}
/// <summary>
/// Notifie la demande
/// </summary>
/// <param name="bquery"></param>
void SendBookQueryNotification(BookQuery bquery)
{
DataManager.Instance.BookQueries.Merge(bquery);

@ -0,0 +1,118 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Newtonsoft.Json;
using ZicMoove.Model.Social;
using ZicMoove.Model;
using ZicMoove.Model.Workflow;
using ZicMoove.Data;
using ZicMoove.Settings;
namespace ZicMoove.Droid.Services.GCMHandlers
{
class EstimateGCMHandler: GCMessageHandler
{
public EstimateGCMHandler(Context context,
NotificationManager manager,
Notification.Builder builder) :
base(context,manager,builder)
{
}
public override void Handle(string from, Bundle data)
{
var locationJson = data.GetString("Location");
var location = JsonConvert.DeserializeObject<Location>(locationJson);
var eid = long.Parse(data.GetString("Id"));
var clientJson = data.GetString("Client");
var client = JsonConvert.DeserializeObject<ClientProviderInfo>(clientJson);
var estimate = new Estimate
{
Id = eid
};
var dateString = data.GetString("ProviderValidationDate");
DateTime evDate;
if (DateTime.TryParse(dateString, out evDate))
{
estimate.ProviderValidationDate = evDate;
}
Notify(estimate);
}
void Notify (Estimate estimate)
{
// do merge the data, even when no user is active
DataManager.Instance.Estimates.Merge(estimate);
if (MainSettings.CurrentUser == null) return;
var estimatenotifications = DataManager.Instance.Estimates.Where(
e => e.ClientApprouvalDate == default(DateTime) &&
e.ClientId == MainSettings.CurrentUser.Id
).OrderByDescending(e=>e.ProviderValidationDate).ToArray();
var count = estimatenotifications.Length;
var multiple = count > 1;
string title;
string message;
if (multiple)
{
StringBuilder tb = new StringBuilder();
int nc = 0;
foreach (var pro in estimatenotifications.Select(
e=>e.Owner
).Distinct())
{
nc++;
tb.Append($"{pro.UserName}");
if (nc > 3)
{
tb.Append(" et {count-nc} autres");
break;
}
else tb.Append(", ");
}
tb.Append("attendent votre validation de leur devis");
title = tb.ToString();
message =
string.Join("\n",
estimatenotifications.Select(
n => $"{n.Title} [{n.Owner.UserName}]\n").ToArray());
}
else
{
title = $"{estimate.Owner.UserName} attend votre validation de son devis";
message = $"{estimate.Title} ({estimate.Total} euro)\n({estimate.Query.Reason})";
}
var intent = new Intent(context, typeof(MainActivity));
intent.AddFlags(ActivityFlags.ClearTop);
intent.PutExtra("EstimateId", estimate.Id);
var pendingIntent = PendingIntent.GetActivity(context, 0, intent, PendingIntentFlags.OneShot);
Notification.InboxStyle inboxStyle = new Notification.InboxStyle();
int maxil = 5;
for (int cn = 0; cn < count && cn < maxil; cn++)
{
inboxStyle.AddLine(estimatenotifications[cn].Owner.UserName);
}
if (count > maxil)
inboxStyle.SetSummaryText($"Plus {count - maxil} autres");
else inboxStyle.SetSummaryText((string)null);
notificationBuilder.SetContentTitle(title).SetContentText(message)
.SetStyle(inboxStyle)
.SetContentIntent(pendingIntent);
var notification = notificationBuilder.Build();
notificationManager.Notify(notificationId, notification);
}
int notificationId = 2;
}
}

@ -9,9 +9,9 @@ using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BookAStar.Droid.Interfaces;
using ZicMoove.Droid.Interfaces;
namespace BookAStar.Droid.Services.GCMHandlers
namespace ZicMoove.Droid.Services.GCMHandlers
{
abstract class GCMessageHandler : IGCMessageHandler
{

@ -8,7 +8,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
namespace BookAStar.Droid.Services
namespace ZicMoove.Droid.Services
{
using Model.Social;
using Model;

@ -8,8 +8,9 @@ using Android.Gms.Gcm;
using Android.Gms.Gcm.Iid;
using Android.OS;
using Android;
using ZicMoove.Settings;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service(Exported = false)]
@ -29,7 +30,7 @@ namespace BookAStar.Droid
{
base.OnCreate();
sWakeLock = PowerManager.FromContext(this).NewWakeLock(WakeLockFlags.Partial,
"BookAStar");
"ZicMoove");
sWakeLock.Acquire();
}
public override void OnDestroy()

@ -4,8 +4,9 @@ using Android.OS;
using Android.Content;
using Android.Util;
using Android.Widget;
using ZicMoove.Settings;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service]
public class MyGcmIntentService : IntentService

@ -3,7 +3,7 @@ using Android.App;
using Android.Gms.Gcm.Iid;
using Android.Content;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service(Exported = false), IntentFilter(new[] { "com.google.android.gms.iid.InstanceID" })]
class MyInstanceIDListenerService : InstanceIDListenerService

@ -12,7 +12,7 @@ using Android.Widget;
using Android.Service.Chooser;
using static Android.Manifest;
namespace BookAStar.Droid
namespace ZicMoove.Droid
{
[Service(
Name = "fr.pschneider.bas.YavscChooserTargetService",
@ -33,7 +33,7 @@ namespace BookAStar.Droid
ChooserTarget t = new ChooserTarget(
new Java.Lang.String(
Constants.ApplicationName), i,
.5f, new ComponentName(this, "BookAStar.SendFilesActivity"),
.5f, new ComponentName(this, "ZicMoove.SendFilesActivity"),
null);
var res = new List<ChooserTarget>();
res.Add(t);

@ -9,8 +9,8 @@
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BookAStar.Droid</RootNamespace>
<AssemblyName>BookAStar.Droid</AssemblyName>
<RootNamespace>ZicMoove.Droid</RootNamespace>
<AssemblyName>ZicMoove.Droid</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidApplication>true</AndroidApplication>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
@ -68,6 +68,28 @@
<DebugSymbols>False</DebugSymbols>
<CodeAnalysisRuleSet />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Lua|AnyCPU'">
<OutputPath>bin\Lua\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<BundleAssemblies>False</BundleAssemblies>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
<JavaMaximumHeapSize>1100m</JavaMaximumHeapSize>
<Debugger>Xamarin</Debugger>
<AotAssemblies>False</AotAssemblies>
<EnableLLVM>False</EnableLLVM>
<AndroidEnableMultiDex>False</AndroidEnableMultiDex>
<EnableProguard>False</EnableProguard>
<DebugSymbols>False</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="ExifLib, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\ExifLib.PCL.1.0.1\lib\portable-net45+sl50+win+WindowsPhoneApp81+wp80+Xamarin.iOS10+MonoAndroid10+MonoTouch10\ExifLib.dll</HintPath>
@ -353,6 +375,7 @@
<Compile Include="SendFilesActivity.cs" />
<Compile Include="Services\AccountChooserService.cs" />
<Compile Include="Services\GCMHandlers\BookQueryGCMHandler.cs" />
<Compile Include="Services\GCMHandlers\EstimateGCMHandler.cs" />
<Compile Include="Services\GCMHandlers\GCMessageHandler.cs" />
<Compile Include="Services\YavscChooserTargetService.cs" />
<Compile Include="Services\GcmListenerService.cs" />
@ -403,9 +426,9 @@
<Project>{67f9d3a8-f71e-4428-913f-c37ae82cdb24}</Project>
<Name>YavscLib</Name>
</ProjectReference>
<ProjectReference Include="..\BookAStar\BookAStar.csproj">
<ProjectReference Include="..\ZicMoove\ZicMoove.csproj">
<Project>{A0815650-0A0A-47B0-8826-771F0E1AD137}</Project>
<Name>BookAStar</Name>
<Name>ZicMoove</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>

Some files were not shown because too many files have changed in this diff Show More

Loading…