packaging
This commit is contained in:
BIN
Kobush.Build.dll
Normal file
BIN
Kobush.Build.dll
Normal file
Binary file not shown.
BIN
MSBuildLogger.dll
Normal file
BIN
MSBuildLogger.dll
Normal file
Binary file not shown.
@ -45,6 +45,33 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZicMoove|AnyCPU'">
|
||||||
|
<OutputPath>bin\ZicMoove\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Yavsc|AnyCPU'">
|
||||||
|
<OutputPath>bin\Yavsc\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WinDev|AnyCPU'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\WinDev\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="IAccountBalance.cs" />
|
<Compile Include="IAccountBalance.cs" />
|
||||||
<Compile Include="IActivity.cs" />
|
<Compile Include="IActivity.cs" />
|
||||||
|
@ -3,20 +3,18 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"targets": {
|
"targets": {
|
||||||
".NETFramework,Version=v4.5.1": {},
|
".NETFramework,Version=v4.5.1": {},
|
||||||
".NETPortable,Version=v4.5,Profile=Profile111": {},
|
".NETPortable,Version=v4.5,Profile=Profile111": {}
|
||||||
".NETFramework,Version=v4.5.1/debian.8-x86": {},
|
|
||||||
".NETFramework,Version=v4.5.1/debian.8-x64": {},
|
|
||||||
".NETPortable,Version=v4.5,Profile=Profile111/debian.8-x86": {},
|
|
||||||
".NETPortable,Version=v4.5,Profile=Profile111/debian.8-x64": {}
|
|
||||||
},
|
},
|
||||||
"libraries": {},
|
"libraries": {},
|
||||||
"projectFileDependencyGroups": {
|
"projectFileDependencyGroups": {
|
||||||
"": [],
|
"": [],
|
||||||
".NETFramework,Version=v4.5.1": [],
|
".NETFramework,Version=v4.5.1": [],
|
||||||
".NETPortable,Version=v4.5,Profile=Profile111": [
|
".NETPortable,Version=v4.5,Profile=Profile111": [
|
||||||
"fx/System.Runtime >= 4.0.0",
|
"System.Globalization >= 4.0.0",
|
||||||
"fx/System.Globalization >= 4.0.0",
|
"System.Resources.ResourceManager >= 4.0.0",
|
||||||
"fx/System.Resources.ResourceManager >= 4.0.0"
|
"System.Runtime >= 4.0.0"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"tools": {},
|
||||||
|
"projectFileToolGroups": {}
|
||||||
}
|
}
|
162
ZicMoove.sln
162
ZicMoove.sln
@ -43,6 +43,24 @@ Global
|
|||||||
Release|iPhoneSimulator = Release|iPhoneSimulator
|
Release|iPhoneSimulator = Release|iPhoneSimulator
|
||||||
Release|x64 = Release|x64
|
Release|x64 = Release|x64
|
||||||
Release|x86 = Release|x86
|
Release|x86 = Release|x86
|
||||||
|
WinDev|Any CPU = WinDev|Any CPU
|
||||||
|
WinDev|ARM = WinDev|ARM
|
||||||
|
WinDev|iPhone = WinDev|iPhone
|
||||||
|
WinDev|iPhoneSimulator = WinDev|iPhoneSimulator
|
||||||
|
WinDev|x64 = WinDev|x64
|
||||||
|
WinDev|x86 = WinDev|x86
|
||||||
|
Yavsc|Any CPU = Yavsc|Any CPU
|
||||||
|
Yavsc|ARM = Yavsc|ARM
|
||||||
|
Yavsc|iPhone = Yavsc|iPhone
|
||||||
|
Yavsc|iPhoneSimulator = Yavsc|iPhoneSimulator
|
||||||
|
Yavsc|x64 = Yavsc|x64
|
||||||
|
Yavsc|x86 = Yavsc|x86
|
||||||
|
ZicMoove|Any CPU = ZicMoove|Any CPU
|
||||||
|
ZicMoove|ARM = ZicMoove|ARM
|
||||||
|
ZicMoove|iPhone = ZicMoove|iPhone
|
||||||
|
ZicMoove|iPhoneSimulator = ZicMoove|iPhoneSimulator
|
||||||
|
ZicMoove|x64 = ZicMoove|x64
|
||||||
|
ZicMoove|x86 = ZicMoove|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
@ -135,6 +153,60 @@ Global
|
|||||||
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|x86.ActiveCfg = Release|Any CPU
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|x86.Build.0 = Release|Any CPU
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|x86.Deploy.0 = Release|Any CPU
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Release|x86.Deploy.0 = Release|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|Any CPU.ActiveCfg = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|Any CPU.Build.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|Any CPU.Deploy.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|ARM.ActiveCfg = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|ARM.Build.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|ARM.Deploy.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|iPhone.ActiveCfg = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|iPhone.Build.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|iPhone.Deploy.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|iPhoneSimulator.ActiveCfg = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|iPhoneSimulator.Build.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|iPhoneSimulator.Deploy.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|x64.ActiveCfg = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|x64.Build.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|x64.Deploy.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|x86.ActiveCfg = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|x86.Build.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.WinDev|x86.Deploy.0 = WinDev|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|Any CPU.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|Any CPU.Build.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|Any CPU.Deploy.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|ARM.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|ARM.Build.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|ARM.Deploy.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|iPhone.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|iPhone.Build.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|iPhone.Deploy.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|iPhoneSimulator.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|iPhoneSimulator.Build.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|iPhoneSimulator.Deploy.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|x64.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|x64.Build.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|x64.Deploy.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|x86.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|x86.Build.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.Yavsc|x86.Deploy.0 = Yavsc|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|Any CPU.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|Any CPU.Build.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|Any CPU.Deploy.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|ARM.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|ARM.Build.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|ARM.Deploy.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|iPhone.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|iPhone.Build.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|iPhone.Deploy.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|iPhoneSimulator.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|iPhoneSimulator.Build.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|iPhoneSimulator.Deploy.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|x64.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|x64.Build.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|x64.Deploy.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|x86.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|x86.Build.0 = ZicMoove|Any CPU
|
||||||
|
{2A8C2BD7-B1B6-4D74-A3FC-3F5DB3BE325E}.ZicMoove|x86.Deploy.0 = ZicMoove|Any CPU
|
||||||
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
|
||||||
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
|
||||||
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
|
||||||
@ -173,6 +245,24 @@ Global
|
|||||||
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||||
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|x64.ActiveCfg = Release|iPhone
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|x64.ActiveCfg = Release|iPhone
|
||||||
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|x86.ActiveCfg = Release|iPhone
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Release|x86.ActiveCfg = Release|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.WinDev|Any CPU.ActiveCfg = WinDev|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.WinDev|ARM.ActiveCfg = WinDev|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.WinDev|iPhone.ActiveCfg = WinDev|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.WinDev|iPhoneSimulator.ActiveCfg = WinDev|iPhoneSimulator
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.WinDev|x64.ActiveCfg = WinDev|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.WinDev|x86.ActiveCfg = WinDev|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Yavsc|Any CPU.ActiveCfg = Yavsc|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Yavsc|ARM.ActiveCfg = Yavsc|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Yavsc|iPhone.ActiveCfg = Yavsc|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Yavsc|iPhoneSimulator.ActiveCfg = Yavsc|iPhoneSimulator
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Yavsc|x64.ActiveCfg = Yavsc|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.Yavsc|x86.ActiveCfg = Yavsc|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.ZicMoove|Any CPU.ActiveCfg = ZicMoove|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.ZicMoove|ARM.ActiveCfg = ZicMoove|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.ZicMoove|iPhone.ActiveCfg = ZicMoove|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.ZicMoove|iPhoneSimulator.ActiveCfg = ZicMoove|iPhoneSimulator
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.ZicMoove|x64.ActiveCfg = ZicMoove|iPhone
|
||||||
|
{B1F4A89B-DD33-4E4B-A98A-FB0308B573D3}.ZicMoove|x86.ActiveCfg = ZicMoove|iPhone
|
||||||
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
|
||||||
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
|
||||||
@ -233,6 +323,42 @@ Global
|
|||||||
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|x64.Build.0 = Release|Any CPU
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|x86.ActiveCfg = Release|Any CPU
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|x86.Build.0 = Release|Any CPU
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|Any CPU.ActiveCfg = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|Any CPU.Build.0 = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|ARM.ActiveCfg = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|ARM.Build.0 = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|iPhone.ActiveCfg = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|iPhone.Build.0 = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|iPhoneSimulator.ActiveCfg = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|iPhoneSimulator.Build.0 = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|x64.ActiveCfg = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|x64.Build.0 = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|x86.ActiveCfg = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.WinDev|x86.Build.0 = WinDev|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|Any CPU.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|Any CPU.Build.0 = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|ARM.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|ARM.Build.0 = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|iPhone.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|iPhone.Build.0 = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|iPhoneSimulator.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|iPhoneSimulator.Build.0 = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|x64.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|x64.Build.0 = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|x86.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.Yavsc|x86.Build.0 = Yavsc|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|Any CPU.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|Any CPU.Build.0 = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|ARM.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|ARM.Build.0 = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|iPhone.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|iPhone.Build.0 = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|iPhoneSimulator.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|iPhoneSimulator.Build.0 = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|x64.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|x64.Build.0 = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|x86.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{A0815650-0A0A-47B0-8826-771F0E1AD137}.ZicMoove|x86.Build.0 = ZicMoove|Any CPU
|
||||||
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
|
||||||
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
|
||||||
@ -293,6 +419,42 @@ Global
|
|||||||
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|x64.Build.0 = Release|Any CPU
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|x86.ActiveCfg = Release|Any CPU
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|x86.Build.0 = Release|Any CPU
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|Any CPU.ActiveCfg = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|Any CPU.Build.0 = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|ARM.ActiveCfg = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|ARM.Build.0 = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|iPhone.ActiveCfg = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|iPhone.Build.0 = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|iPhoneSimulator.ActiveCfg = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|iPhoneSimulator.Build.0 = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|x64.ActiveCfg = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|x64.Build.0 = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|x86.ActiveCfg = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.WinDev|x86.Build.0 = WinDev|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|Any CPU.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|Any CPU.Build.0 = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|ARM.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|ARM.Build.0 = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|iPhone.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|iPhone.Build.0 = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|iPhoneSimulator.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|iPhoneSimulator.Build.0 = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|x64.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|x64.Build.0 = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|x86.ActiveCfg = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.Yavsc|x86.Build.0 = Yavsc|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|Any CPU.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|Any CPU.Build.0 = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|ARM.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|ARM.Build.0 = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|iPhone.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|iPhone.Build.0 = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|iPhoneSimulator.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|iPhoneSimulator.Build.0 = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|x64.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|x64.Build.0 = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|x86.ActiveCfg = ZicMoove|Any CPU
|
||||||
|
{67F9D3A8-F71E-4428-913F-C37AE82CDB24}.ZicMoove|x86.Build.0 = ZicMoove|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
64
ZicMoove/ZicMoove.Droid/GeofenceAppStarter.txt
Normal file
64
ZicMoove/ZicMoove.Droid/GeofenceAppStarter.txt
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Android.App;
|
||||||
|
using Android.Content;
|
||||||
|
using Android.Runtime;
|
||||||
|
using Geofence.Plugin;
|
||||||
|
|
||||||
|
namespace ZicMoove.Droid
|
||||||
|
{
|
||||||
|
//This is a starting point application class so that geofence events can be handle even when application is closed.
|
||||||
|
|
||||||
|
[Application]
|
||||||
|
public class GeofenceAppStarter : Application
|
||||||
|
{
|
||||||
|
public static Context AppContext;
|
||||||
|
|
||||||
|
public GeofenceAppStarter(IntPtr javaReference, JniHandleOwnership transfer) : base(javaReference, transfer)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnCreate()
|
||||||
|
{
|
||||||
|
base.OnCreate();
|
||||||
|
|
||||||
|
AppContext = this.ApplicationContext;
|
||||||
|
|
||||||
|
//TODO: Initialize CrossGeofence Plugin
|
||||||
|
//TODO: Specify the listener class implementing IGeofenceListener interface in the Initialize generic
|
||||||
|
//CrossGeofence.Initialize<CrossGeofenceListener>();
|
||||||
|
//CrossGeofence.GeofenceListener.OnAppStarted();
|
||||||
|
//Start a sticky service to keep receiving geofence events when app is closed.
|
||||||
|
StartService();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void StartService()
|
||||||
|
{
|
||||||
|
AppContext.StartService(new Intent(AppContext, typeof(GeofenceService)));
|
||||||
|
|
||||||
|
if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Kitkat)
|
||||||
|
{
|
||||||
|
|
||||||
|
PendingIntent pintent = PendingIntent.GetService(AppContext, 0, new Intent(AppContext, typeof(GeofenceService)), 0);
|
||||||
|
AlarmManager alarm = (AlarmManager)AppContext.GetSystemService(Context.AlarmService);
|
||||||
|
alarm.Cancel(pintent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void StopService()
|
||||||
|
{
|
||||||
|
AppContext.StopService(new Intent(AppContext, typeof(GeofenceService)));
|
||||||
|
if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Kitkat)
|
||||||
|
{
|
||||||
|
PendingIntent pintent = PendingIntent.GetService(AppContext, 0, new Intent(AppContext, typeof(GeofenceService)), 0);
|
||||||
|
AlarmManager alarm = (AlarmManager)AppContext.GetSystemService(Context.AlarmService);
|
||||||
|
alarm.Cancel(pintent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
38
ZicMoove/ZicMoove.Droid/Helpers/GeofenceService.txt
Normal file
38
ZicMoove/ZicMoove.Droid/Helpers/GeofenceService.txt
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
using Android.App;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ZicMoove.Droid.Helpers
|
||||||
|
{
|
||||||
|
[Service]
|
||||||
|
public class GeofenceService : Service
|
||||||
|
{
|
||||||
|
public override void OnCreate()
|
||||||
|
{
|
||||||
|
base.OnCreate();
|
||||||
|
|
||||||
|
System.Diagnostics.Debug.WriteLine("Geofence Service - Created");
|
||||||
|
}
|
||||||
|
|
||||||
|
public override StartCommandResult OnStartCommand(Android.Content.Intent intent, StartCommandFlags flags, int startId)
|
||||||
|
{
|
||||||
|
System.Diagnostics.Debug.WriteLine("Geofence Service - Started");
|
||||||
|
return StartCommandResult.Sticky;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override Android.OS.IBinder OnBind(Android.Content.Intent intent)
|
||||||
|
{
|
||||||
|
System.Diagnostics.Debug.WriteLine("Geofence Service - Binded");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnDestroy()
|
||||||
|
{
|
||||||
|
System.Diagnostics.Debug.WriteLine("Geofence Service - Destroyed");
|
||||||
|
base.OnDestroy();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -32,7 +32,6 @@ using XLabs.Platform.Services.Email;
|
|||||||
using XLabs.Platform.Services.Media;
|
using XLabs.Platform.Services.Media;
|
||||||
using XLabs.Serialization;
|
using XLabs.Serialization;
|
||||||
using XLabs.Serialization.JsonNET;
|
using XLabs.Serialization.JsonNET;
|
||||||
using Yavsc.Models.Identity;
|
|
||||||
|
|
||||||
namespace ZicMoove.Droid
|
namespace ZicMoove.Droid
|
||||||
{
|
{
|
||||||
@ -48,20 +47,44 @@ namespace ZicMoove.Droid
|
|||||||
using static Android.Manifest;
|
using static Android.Manifest;
|
||||||
using Settings;
|
using Settings;
|
||||||
using Model.Auth;
|
using Model.Auth;
|
||||||
|
using Com.Paypal.Android.Sdk.Payments;
|
||||||
|
using Java.Math;
|
||||||
|
using Org.Json;
|
||||||
|
using Xamarin.Forms;
|
||||||
|
|
||||||
[Activity(Name = "fr.pschneider.bas.MainActivity", Label = "ZicMoove", Theme = "@style/MainTheme", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
[Activity(
|
||||||
|
Name = Constants.ApplicationName+".MainActivity",
|
||||||
|
Label = Constants.ApplicationLabel,
|
||||||
|
Theme = "@style/MainTheme",
|
||||||
|
Icon = "@drawable/icon",
|
||||||
|
MainLauncher = true,
|
||||||
|
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
||||||
|
[IntentFilter(new[] { Intent.ActionMain },
|
||||||
|
Categories = new[] { Intent.CategoryLauncher },
|
||||||
|
Icon = "@drawable/icon")]
|
||||||
public class MainActivity :
|
public class MainActivity :
|
||||||
|
|
||||||
// global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity,
|
// global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity,
|
||||||
XFormsCompatApplicationDroid,
|
XFormsCompatApplicationDroid,
|
||||||
IPlatform, IComponentContext
|
IPlatform, IComponentContext
|
||||||
{
|
{
|
||||||
|
private PayPalConfiguration config = new PayPalConfiguration()
|
||||||
|
.Environment(PayPalConfiguration.EnvironmentSandbox)
|
||||||
|
.MerchantName("Yavsc")
|
||||||
|
.LanguageOrLocale("fr")
|
||||||
|
.RememberUser(true)
|
||||||
|
.AcceptCreditCards(true) // needs card.io
|
||||||
|
// .MerchantPrivacyPolicyUri(new Uri("http://"))
|
||||||
|
// .MerchantUserAgreementUri(new Uri("http://"))
|
||||||
|
.ClientId(Constants.PaypalClientId)
|
||||||
|
.SandboxUserPassword(Constants.PaypalClientSecret)
|
||||||
|
;
|
||||||
|
|
||||||
protected override void OnCreate(Bundle bundle)
|
protected override void OnCreate(Bundle bundle)
|
||||||
{
|
{
|
||||||
|
|
||||||
TabLayoutResource = Resource.Layout.Tabbar;
|
TabLayoutResource = Resource.Layout.Tabbar;
|
||||||
ToolbarResource = Resource.Layout.Toolbar;
|
ToolbarResource = Resource.Layout.Toolbar;
|
||||||
|
|
||||||
base.OnCreate(bundle);
|
base.OnCreate(bundle);
|
||||||
|
|
||||||
// FIXME usefull?
|
// FIXME usefull?
|
||||||
@ -110,7 +133,7 @@ namespace ZicMoove.Droid
|
|||||||
LoadApplication(fapp);
|
LoadApplication(fapp);
|
||||||
|
|
||||||
var componentName = StartService(new Intent(this, typeof(YavscChooserTargetService)));
|
var componentName = StartService(new Intent(this, typeof(YavscChooserTargetService)));
|
||||||
|
|
||||||
// TabLayoutResource = Resource.Layout.Tabbar;
|
// TabLayoutResource = Resource.Layout.Tabbar;
|
||||||
// ToolbarResource = Resource.Layout.Toolbar;
|
// ToolbarResource = Resource.Layout.Toolbar;
|
||||||
/*
|
/*
|
||||||
@ -122,6 +145,10 @@ namespace ZicMoove.Droid
|
|||||||
x = typeof(Themes.LightThemeResources);
|
x = typeof(Themes.LightThemeResources);
|
||||||
x = typeof(Themes.Android.UnderlineEffect); */
|
x = typeof(Themes.Android.UnderlineEffect); */
|
||||||
|
|
||||||
|
var intent = new Intent(this, typeof(PayPalService));
|
||||||
|
intent.PutExtra(PayPalService.ExtraPaypalConfiguration, config);
|
||||||
|
this.StartService(intent);
|
||||||
|
|
||||||
}
|
}
|
||||||
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
|
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
|
||||||
{
|
{
|
||||||
@ -224,11 +251,11 @@ namespace ZicMoove.Droid
|
|||||||
{
|
{
|
||||||
|
|
||||||
var accStore = AccountStore.Create(this);
|
var accStore = AccountStore.Create(this);
|
||||||
var accounts = accStore.FindAccountsForService(Constants.ApplicationName);
|
var accounts = accStore.FindAccountsForService(Constants.ApplicationLabel);
|
||||||
|
|
||||||
accStore.Delete(
|
accStore.Delete(
|
||||||
accounts.Where(a => a.Username == userName).FirstOrDefault()
|
accounts.Where(a => a.Username == userName).FirstOrDefault()
|
||||||
, Constants.ApplicationName);
|
, Constants.ApplicationLabel);
|
||||||
Toast.MakeText(this,
|
Toast.MakeText(this,
|
||||||
Resource.String.yavscIdentRemoved
|
Resource.String.yavscIdentRemoved
|
||||||
, ToastLength.Short);
|
, ToastLength.Short);
|
||||||
@ -286,7 +313,7 @@ namespace ZicMoove.Droid
|
|||||||
return await Task.Run(() =>
|
return await Task.Run(() =>
|
||||||
{
|
{
|
||||||
var manager = AccountStore.Create(this);
|
var manager = AccountStore.Create(this);
|
||||||
return manager.FindAccountsForService(Constants.ApplicationName);
|
return manager.FindAccountsForService(Constants.ApplicationLabel);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -350,7 +377,7 @@ namespace ZicMoove.Droid
|
|||||||
};
|
};
|
||||||
|
|
||||||
MainSettings.SaveUser(newuser);
|
MainSettings.SaveUser(newuser);
|
||||||
accStore.Save(acc, Constants.ApplicationName);
|
accStore.Save(acc, Constants.ApplicationLabel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -414,6 +441,64 @@ namespace ZicMoove.Droid
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Pay(double amount, PayMethod method, string name= null )
|
||||||
|
{
|
||||||
|
if (name == null) name = $"Votre commande {Constants.ApplicationLabel}";
|
||||||
|
var payment = new PayPalPayment(new BigDecimal(amount), "EUR", "the item",
|
||||||
|
PayPalPayment.PaymentIntentOrder);
|
||||||
|
|
||||||
|
var intent = new Intent(this, typeof(PaymentActivity));
|
||||||
|
intent.PutExtra(PayPalService.ExtraPaypalConfiguration, config);
|
||||||
|
intent.PutExtra(PaymentActivity.ExtraPayment, payment);
|
||||||
|
this.StartActivityForResult(intent, (int) RequestCode.PayImmediate);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
|
||||||
|
{
|
||||||
|
if (requestCode == (int) RequestCode.PayDelayed)
|
||||||
|
if (resultCode == Result.Ok)
|
||||||
|
{
|
||||||
|
var confirm = data.GetParcelableExtra(PaymentActivity.ExtraResultConfirmation);
|
||||||
|
if (confirm != null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Log.Info("xam.paypal.test", confirm.ToString());
|
||||||
|
|
||||||
|
// TODO: send 'confirm' to your server for verification.
|
||||||
|
// see https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/
|
||||||
|
// for more details.
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (JSONException e)
|
||||||
|
{
|
||||||
|
Log.Error("xam.paypal.test", "something went really wrong here: ", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (resultCode == Result.Canceled)
|
||||||
|
{
|
||||||
|
Log.Info("xam.paypal.test", "Canceled.");
|
||||||
|
}
|
||||||
|
else if ((int)resultCode == PaymentActivity.ResultExtrasInvalid)
|
||||||
|
{
|
||||||
|
Log.Info("xam.paypal.test", "Invalid Payment or PayPalConfiguration.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
protected override void OnDestroy()
|
||||||
|
{
|
||||||
|
this.StopService(new Intent(this, typeof(PayPalService)));
|
||||||
|
base.OnDestroy();
|
||||||
|
}
|
||||||
|
|
||||||
|
enum RequestCode : int {
|
||||||
|
PayImmediate = 1,
|
||||||
|
PayDelayed
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?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="1" android:versionName="1.0" package="fr.pschneider.bas" android:installLocation="auto">
|
<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" />
|
<uses-sdk android:minSdkVersion="15" />
|
||||||
<application android:allowBackup="true" android:label="@string/app_name" android:icon="@drawable/icon" android:theme="@style/MainTheme" android:configChanges="navigation|screenLayout|orientation|screenSize|smallestScreenSize">
|
<application 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.maps.v2.API_KEY" android:value="AIzaSyBLSEDhZixwpHDsWmO2pKwgGDJReoTuQ7A" />
|
||||||
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
|
<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">
|
<receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
|
||||||
@ -11,12 +11,6 @@
|
|||||||
<category android:name="fr.pschneider.bas" />
|
<category android:name="fr.pschneider.bas" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
<activity android:name="fr.pschneider.bas.MainActivity" android:label="@string/app_name">
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity android:name="fr.pschneider.bas.SendFilesActivity" android:label="@string/send_to_app_name">
|
<activity android:name="fr.pschneider.bas.SendFilesActivity" android:label="@string/send_to_app_name">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.SEND" />
|
<action android:name="android.intent.action.SEND" />
|
||||||
@ -36,6 +30,8 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
<meta-data android:name="android.accounts.AccountAuthenticator" android:resource="@xml/authenticator" />
|
<meta-data android:name="android.accounts.AccountAuthenticator" android:resource="@xml/authenticator" />
|
||||||
</service>
|
</service>
|
||||||
|
<service android:name="com.paypal.android.sdk.payments.PayPalService" android:exported="false" />
|
||||||
|
<activity android:name="com.paypal.android.sdk.payments.PaymentActivity" />
|
||||||
</application>
|
</application>
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.WAVE_LOCK" />
|
<uses-permission android:name="android.permission.WAVE_LOCK" />
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using Android.App;
|
using Android.App;
|
||||||
|
using ZicMoove;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
@ -32,3 +33,5 @@ using Android.App;
|
|||||||
// Add some common permissions, these can be removed if not needed
|
// Add some common permissions, these can be removed if not needed
|
||||||
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
|
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
|
||||||
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
|
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
|
||||||
|
[assembly: Application(Debuggable = true, Label = Constants.ApplicationLabel, Theme = "@style/MainTheme",
|
||||||
|
AllowBackup = true, Icon = "@drawable/icon")]
|
||||||
|
3285
ZicMoove/ZicMoove.Droid/Resources/Resource.Designer.cs
generated
3285
ZicMoove/ZicMoove.Droid/Resources/Resource.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
30
ZicMoove/ZicMoove.Droid/Resources/layout/Payment.axml
Normal file
30
ZicMoove/ZicMoove.Droid/Resources/layout/Payment.axml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
<RelativeLayout
|
||||||
|
android:minWidth="25px"
|
||||||
|
android:minHeight="25px"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/relativeLayout1" />
|
||||||
|
<TextView
|
||||||
|
android:text="Validation de votre solvabilité (le retrait n'est effectué qu'un fois la préstation executée et validée par vos soins)"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/textViewReason" />
|
||||||
|
<TextView
|
||||||
|
android:text="Taille de la transaction: ... €"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/textViewAmount"
|
||||||
|
style="@style/Base.TextAppearance.AppCompat.Medium" />
|
||||||
|
<Button
|
||||||
|
android:text="Payer avec Paypal"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/buttonPay" />
|
||||||
|
</LinearLayout>
|
@ -1,25 +0,0 @@
|
|||||||
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;
|
|
||||||
|
|
||||||
namespace ZicMoove.Droid
|
|
||||||
{
|
|
||||||
[Activity(Name= "fr.pschneider.bas.SendFilesActivity", Label = "SendFilesActivity")]
|
|
||||||
public class SendFilesActivity : Activity
|
|
||||||
{
|
|
||||||
protected override void OnCreate(Bundle savedInstanceState)
|
|
||||||
{
|
|
||||||
base.OnCreate(savedInstanceState);
|
|
||||||
|
|
||||||
// Create your application here
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +1,23 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
using Android.App;
|
using Android.App;
|
||||||
using Android.Content;
|
using Android.Content;
|
||||||
using Android.OS;
|
using Android.OS;
|
||||||
using Android.Runtime;
|
using Android.Runtime;
|
||||||
using Android.Views;
|
using Android.Views;
|
||||||
using Android.Widget;
|
using Android.Widget;
|
||||||
using ZicMoove.Droid.Interfaces;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using ZicMoove.Model.Social;
|
using System;
|
||||||
using ZicMoove.Data;
|
using System.Collections.Generic;
|
||||||
using ZicMoove.Model;
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
namespace ZicMoove.Droid.Services.GCMHandlers
|
namespace ZicMoove.Droid.Services.GCMHandlers
|
||||||
{
|
{
|
||||||
|
using Interfaces;
|
||||||
|
using Model.Social;
|
||||||
|
using Data;
|
||||||
|
using Model;
|
||||||
|
using Model.Musical;
|
||||||
|
|
||||||
class BookQueryGCMHandler : GCMessageHandler
|
class BookQueryGCMHandler : GCMessageHandler
|
||||||
{
|
{
|
||||||
public BookQueryGCMHandler(Context context,
|
public BookQueryGCMHandler(Context context,
|
||||||
@ -66,8 +67,7 @@ namespace ZicMoove.Droid.Services.GCMHandlers
|
|||||||
).ToArray();
|
).ToArray();
|
||||||
var count = bookquerynotifications.Length;
|
var count = bookquerynotifications.Length;
|
||||||
var multiple = count > 1;
|
var multiple = count > 1;
|
||||||
var title =
|
var title = multiple ? $"{count} demandes" : bquery.Client.UserName;
|
||||||
multiple ? $"{count} demandes" : bquery.Client.UserName;
|
|
||||||
var message = $"{bquery.EventDate} {bquery.Client.UserName} {bquery.Location.Address}\n {bquery.Reason}";
|
var message = $"{bquery.EventDate} {bquery.Client.UserName} {bquery.Location.Address}\n {bquery.Reason}";
|
||||||
|
|
||||||
var intent = new Intent(context, typeof(MainActivity));
|
var intent = new Intent(context, typeof(MainActivity));
|
||||||
|
@ -32,7 +32,7 @@ namespace ZicMoove.Droid
|
|||||||
Resource.Drawable.icon);
|
Resource.Drawable.icon);
|
||||||
ChooserTarget t = new ChooserTarget(
|
ChooserTarget t = new ChooserTarget(
|
||||||
new Java.Lang.String(
|
new Java.Lang.String(
|
||||||
Constants.ApplicationName), i,
|
Constants.ApplicationLabel), i,
|
||||||
.5f, new ComponentName(this, "ZicMoove.SendFilesActivity"),
|
.5f, new ComponentName(this, "ZicMoove.SendFilesActivity"),
|
||||||
null);
|
null);
|
||||||
var res = new List<ChooserTarget>();
|
var res = new List<ChooserTarget>();
|
||||||
|
@ -90,13 +90,87 @@
|
|||||||
<EnableProguard>False</EnableProguard>
|
<EnableProguard>False</EnableProguard>
|
||||||
<DebugSymbols>False</DebugSymbols>
|
<DebugSymbols>False</DebugSymbols>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZicMoove|AnyCPU'">
|
||||||
|
<OutputPath>bin\ZicMoove\</OutputPath>
|
||||||
|
<DefineConstants>TRACE;ZICMOOVE</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>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Yavsc|AnyCPU'">
|
||||||
|
<OutputPath>bin\Yavsc\</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>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WinDev|AnyCPU'">
|
||||||
|
<DebugSymbols>True</DebugSymbols>
|
||||||
|
<OutputPath>bin\WinDev\</OutputPath>
|
||||||
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||||
|
<WarningLevel>0</WarningLevel>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
|
||||||
|
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
|
||||||
|
<EmbedAssembliesIntoApk>False</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>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="ExifLib, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<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>
|
<HintPath>..\..\packages\ExifLib.PCL.1.0.1\lib\portable-net45+sl50+win+WindowsPhoneApp81+wp80+Xamarin.iOS10+MonoAndroid10+MonoTouch10\ExifLib.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Geofence.Plugin, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xam.Plugin.Geofence.1.1.2\lib\MonoAndroid10\Geofence.Plugin.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Geofence.Plugin.Abstractions, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xam.Plugin.Geofence.1.1.2\lib\MonoAndroid10\Geofence.Plugin.Abstractions.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="GoogleMediaFramework">
|
<Reference Include="GoogleMediaFramework">
|
||||||
@ -203,6 +277,14 @@
|
|||||||
<HintPath>..\..\packages\SQLite.Net.Platform.XamarinAndroid.2.5.1\lib\MonoAndroid\SQLite.Net.Platform.XamarinAndroid.dll</HintPath>
|
<HintPath>..\..\packages\SQLite.Net.Platform.XamarinAndroid.2.5.1\lib\MonoAndroid\SQLite.Net.Platform.XamarinAndroid.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Square.OkHttp3, Version=3.4.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Square.OkHttp3.3.4.1.1\lib\MonoAndroid\Square.OkHttp3.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Square.OkIO, Version=1.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Square.OkIO.1.6.0.0\lib\MonoAndroid\Square.OkIO.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
@ -213,6 +295,10 @@
|
|||||||
<Reference Include="System.Json" />
|
<Reference Include="System.Json" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Web.Services" />
|
<Reference Include="System.Web.Services" />
|
||||||
|
<Reference Include="Xam.PayPal.Droid, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xam.PayPal.Droid.2.15.1.1\lib\MonoAndroid10\Xam.PayPal.Droid.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Xamarin.Android.Support.Animated.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Android.Support.Animated.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Animated.Vector.Drawable.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Animated.Vector.Drawable.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
@ -249,55 +335,63 @@
|
|||||||
<HintPath>..\..\Components\xamarin.auth-1.2.3.1\lib\android\Xamarin.Auth.Android.dll</HintPath>
|
<HintPath>..\..\Components\xamarin.auth-1.2.3.1\lib\android\Xamarin.Auth.Android.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.Forms.Maps, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Forms.Maps, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.Maps.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Maps.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.Maps.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Maps.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.Forms.Maps.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Forms.Maps.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.Maps.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Maps.Android.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.Maps.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Maps.Android.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Ads, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Ads, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Ads.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Ads.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Ads.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Ads.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Analytics, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Analytics, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Analytics.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Analytics.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Analytics.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Analytics.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Base, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Base, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Base.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Base.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Base.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Base.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Basement, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Basement, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Basement.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Basement.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Gcm, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Gcm, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Gcm.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Gcm.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Gcm.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Gcm.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Xamarin.GooglePlayServices.Location, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Location.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Location.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Maps, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Maps, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Maps.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Maps.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Maps.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Maps.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Xamarin.GooglePlayServices.Measurement, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Xamarin.GooglePlayServices.Measurement, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Measurement.29.0.0.1\lib\MonoAndroid41\Xamarin.GooglePlayServices.Measurement.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.GooglePlayServices.Measurement.29.0.0.2\lib\MonoAndroid41\Xamarin.GooglePlayServices.Measurement.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Xamarin.PayPal.Android.CardIO, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xamarin.PayPal.Android.CardIO.1.0.0\lib\MonoAndroid10\Xamarin.PayPal.Android.CardIO.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="XLabs.Caching, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="XLabs.Caching, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
@ -371,7 +465,6 @@
|
|||||||
<Compile Include="Rendering\ImageButtonRenderer.cs" />
|
<Compile Include="Rendering\ImageButtonRenderer.cs" />
|
||||||
<Compile Include="Resources\Resource.Designer.cs" />
|
<Compile Include="Resources\Resource.Designer.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="SendFilesActivity.cs" />
|
|
||||||
<Compile Include="Services\AccountChooserService.cs" />
|
<Compile Include="Services\AccountChooserService.cs" />
|
||||||
<Compile Include="Services\GCMHandlers\BookQueryGCMHandler.cs" />
|
<Compile Include="Services\GCMHandlers\BookQueryGCMHandler.cs" />
|
||||||
<Compile Include="Services\GCMHandlers\EstimateGCMHandler.cs" />
|
<Compile Include="Services\GCMHandlers\EstimateGCMHandler.cs" />
|
||||||
@ -404,12 +497,17 @@
|
|||||||
<AndroidResource Include="Resources\menu\md_menu.axml">
|
<AndroidResource Include="Resources\menu\md_menu.axml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</AndroidResource>
|
</AndroidResource>
|
||||||
|
<AndroidResource Include="Resources\layout\Payment.axml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</AndroidResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AndroidResource Include="Resources\drawable\icon.png" />
|
<AndroidResource Include="Resources\drawable\icon.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Properties\AndroidManifest.xml" />
|
<None Include="Properties\AndroidManifest.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AndroidResource Include="Resources\layout\Tabbar.axml" />
|
<AndroidResource Include="Resources\layout\Tabbar.axml" />
|
||||||
@ -543,18 +641,24 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AndroidResource Include="Resources\xml\account_preferences.xml" />
|
<AndroidResource Include="Resources\xml\account_preferences.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="GeofenceAppStarter.txt" />
|
||||||
|
<Content Include="Helpers\GeofenceService.txt" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<PropertyGroup>
|
<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>
|
<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>
|
</PropertyGroup>
|
||||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets'))" />
|
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets'))" />
|
||||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
|
||||||
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
||||||
|
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" />
|
||||||
|
<Error Condition="!Exists('..\..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
<Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />
|
<Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />
|
||||||
<Import Project="..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
|
||||||
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
||||||
|
<Import Project="..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" />
|
||||||
|
<Import Project="..\..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets" Condition="Exists('..\..\packages\Xamarin.GooglePlayServices.Basement.29.0.0.2\build\Xamarin.GooglePlayServices.Basement.targets')" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="ExifLib.PCL" version="1.0.1" targetFramework="monoandroid70" />
|
<package id="ExifLib.PCL" version="1.0.1" targetFramework="monoandroid70" />
|
||||||
|
<package id="Kobush.Build" version="2.2.0.0" targetFramework="monoandroid70" />
|
||||||
<package id="MarkdownDeep-av.NET" version="1.5.2" targetFramework="monoandroid60" />
|
<package id="MarkdownDeep-av.NET" version="1.5.2" targetFramework="monoandroid60" />
|
||||||
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="monoandroid70" />
|
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="monoandroid70" />
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="monoandroid60" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="monoandroid60" />
|
||||||
@ -11,8 +12,12 @@
|
|||||||
<package id="SQLite.Net.Core-PCL" version="3.1.1" targetFramework="monoandroid70" />
|
<package id="SQLite.Net.Core-PCL" version="3.1.1" targetFramework="monoandroid70" />
|
||||||
<package id="SQLite.Net.Platform.XamarinAndroid" version="2.5.1" targetFramework="monoandroid70" />
|
<package id="SQLite.Net.Platform.XamarinAndroid" version="2.5.1" targetFramework="monoandroid70" />
|
||||||
<package id="SQLite.Net-PCL" version="3.1.1" targetFramework="monoandroid70" />
|
<package id="SQLite.Net-PCL" version="3.1.1" targetFramework="monoandroid70" />
|
||||||
|
<package id="Square.OkHttp3" version="3.4.1.1" targetFramework="monoandroid70" />
|
||||||
|
<package id="Square.OkIO" version="1.6.0.0" targetFramework="monoandroid70" />
|
||||||
|
<package id="Xam.PayPal.Droid" version="2.15.1.1" targetFramework="monoandroid70" />
|
||||||
<package id="Xam.Plugin.Connectivity" version="2.2.12" targetFramework="monoandroid70" />
|
<package id="Xam.Plugin.Connectivity" version="2.2.12" targetFramework="monoandroid70" />
|
||||||
<package id="Xam.Plugin.DeviceInfo" version="2.0.2" targetFramework="monoandroid70" />
|
<package id="Xam.Plugin.DeviceInfo" version="2.0.2" targetFramework="monoandroid70" />
|
||||||
|
<package id="Xam.Plugin.Geofence" version="1.1.2" targetFramework="monoandroid70" developmentDependency="true" />
|
||||||
<package id="Xam.Plugin.Geolocator" version="3.0.4" targetFramework="monoandroid70" />
|
<package id="Xam.Plugin.Geolocator" version="3.0.4" targetFramework="monoandroid70" />
|
||||||
<package id="Xam.Plugin.Media" version="2.3.0" targetFramework="monoandroid70" />
|
<package id="Xam.Plugin.Media" version="2.3.0" targetFramework="monoandroid70" />
|
||||||
<package id="Xam.Plugins.Settings" version="2.5.1.0" targetFramework="monoandroid70" />
|
<package id="Xam.Plugins.Settings" version="2.5.1.0" targetFramework="monoandroid70" />
|
||||||
@ -26,15 +31,17 @@
|
|||||||
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
|
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
|
||||||
<package id="Xamarin.Controls.SignaturePad" version="1.4.0" targetFramework="monoandroid70" />
|
<package id="Xamarin.Controls.SignaturePad" version="1.4.0" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.Controls.SignaturePad.Forms" version="1.4.0" targetFramework="monoandroid70" />
|
<package id="Xamarin.Controls.SignaturePad.Forms" version="1.4.0" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.Forms" version="2.3.2.127" targetFramework="monoandroid70" />
|
<package id="Xamarin.Forms" version="2.3.3.193" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.Forms.Maps" version="2.3.2.127" targetFramework="monoandroid70" />
|
<package id="Xamarin.Forms.Maps" version="2.3.3.193" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Ads" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Ads" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Analytics" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Analytics" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Base" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Base" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Basement" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Basement" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Gcm" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Gcm" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Maps" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Location" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
<package id="Xamarin.GooglePlayServices.Measurement" version="29.0.0.1" targetFramework="monoandroid70" />
|
<package id="Xamarin.GooglePlayServices.Maps" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
|
<package id="Xamarin.GooglePlayServices.Measurement" version="29.0.0.2" targetFramework="monoandroid70" />
|
||||||
|
<package id="Xamarin.PayPal.Android.CardIO" version="1.0.0" targetFramework="monoandroid70" />
|
||||||
<package id="XLabs.Caching" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
<package id="XLabs.Caching" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||||
<package id="XLabs.Caching.SQLite" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
<package id="XLabs.Caching.SQLite" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||||
<package id="XLabs.Core" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
<package id="XLabs.Core" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||||
|
@ -117,6 +117,62 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZicMoove|iPhoneSimulator'">
|
||||||
|
<OutputPath>bin\iPhoneSimulator\ZicMoove\</OutputPath>
|
||||||
|
<DefineConstants>__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZicMoove|iPhone'">
|
||||||
|
<OutputPath>bin\iPhone\ZicMoove\</OutputPath>
|
||||||
|
<DefineConstants>__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Yavsc|iPhoneSimulator'">
|
||||||
|
<OutputPath>bin\iPhoneSimulator\Yavsc\</OutputPath>
|
||||||
|
<DefineConstants>__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Yavsc|iPhone'">
|
||||||
|
<OutputPath>bin\iPhone\Yavsc\</OutputPath>
|
||||||
|
<DefineConstants>__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WinDev|iPhoneSimulator'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\iPhoneSimulator\WinDev\</OutputPath>
|
||||||
|
<DefineConstants>__UNIFIED__;__MOBILE__;__IOS__;DEBUG</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WinDev|iPhone'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\iPhone\WinDev\</OutputPath>
|
||||||
|
<DefineConstants>__UNIFIED__;__MOBILE__;__IOS__;DEBUG</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Main.cs" />
|
<Compile Include="Main.cs" />
|
||||||
<Compile Include="AppDelegate.cs" />
|
<Compile Include="AppDelegate.cs" />
|
||||||
|
@ -35,11 +35,13 @@ namespace ZicMoove
|
|||||||
using Helpers;
|
using Helpers;
|
||||||
using Model.Auth;
|
using Model.Auth;
|
||||||
using Plugin.DeviceInfo;
|
using Plugin.DeviceInfo;
|
||||||
using Yavsc.Models.Identity;
|
|
||||||
using System.Json;
|
using System.Json;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Pages.ClientPages;
|
||||||
|
using YavscLib;
|
||||||
|
using Model.Musical;
|
||||||
|
|
||||||
public partial class App : Application // superclass new in 1.3
|
public partial class App : Application // superclass new in 1.3
|
||||||
{
|
{
|
||||||
@ -195,7 +197,7 @@ namespace ZicMoove
|
|||||||
|
|
||||||
BookQueriesPage bQueriesPage;
|
BookQueriesPage bQueriesPage;
|
||||||
AccountChooserPage accChooserPage;
|
AccountChooserPage accChooserPage;
|
||||||
HomePage homePage;
|
ActivityPage homePage;
|
||||||
|
|
||||||
private static UserProfilePage userProfilePage;
|
private static UserProfilePage userProfilePage;
|
||||||
|
|
||||||
@ -235,13 +237,13 @@ namespace ZicMoove
|
|||||||
BindingContext = bookQueries
|
BindingContext = bookQueries
|
||||||
};
|
};
|
||||||
|
|
||||||
homePage = new HomePage()
|
homePage = new ActivityPage()
|
||||||
{
|
{
|
||||||
Title = "Accueil",
|
Title = "Accueil",
|
||||||
Icon = "icon.png"
|
Icon = "icon.png"
|
||||||
};
|
};
|
||||||
|
|
||||||
homePage.BindingContext = new HomeViewModel
|
homePage.BindingContext = new WorkflowViewModel
|
||||||
{
|
{
|
||||||
BookQueries = bookQueries,
|
BookQueries = bookQueries,
|
||||||
UserProfile = userprofile
|
UserProfile = userprofile
|
||||||
@ -490,7 +492,7 @@ namespace ZicMoove
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static IGCMDeclaration GetDeviceInfo()
|
public static GCMRegIdDeclaration GetDeviceInfo()
|
||||||
{
|
{
|
||||||
var devinfo = CrossDeviceInfo.Current;
|
var devinfo = CrossDeviceInfo.Current;
|
||||||
DateTime? lupdate = DataManager.Instance.Activities.Count > 0 ?
|
DateTime? lupdate = DataManager.Instance.Activities.Count > 0 ?
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
using Model.Access;
|
using Model.Access;
|
||||||
using ViewModels.Messaging;
|
using ViewModels.Messaging;
|
||||||
using Model.Social;
|
using Model.Social;
|
||||||
|
using Model.Musical;
|
||||||
|
|
||||||
public class DataManager
|
public class DataManager
|
||||||
{
|
{
|
||||||
|
47
ZicMoove/ZicMoove/Helpers/CrossGeofenceListener.txt
Normal file
47
ZicMoove/ZicMoove/Helpers/CrossGeofenceListener.txt
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
using Geofence.Plugin;
|
||||||
|
using Geofence.Plugin.Abstractions;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ZicMoove.Helpers
|
||||||
|
{
|
||||||
|
//Class to handle geofence events such as start/stop monitoring, region state changes and errors.
|
||||||
|
public class CrossGeofenceListener : IGeofenceListener
|
||||||
|
{
|
||||||
|
public void OnMonitoringStarted(string region)
|
||||||
|
{
|
||||||
|
Debug.WriteLine(string.Format("{0} - {1}: {2}", CrossGeofence.Id, "Monitoring in region",region));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnMonitoringStopped()
|
||||||
|
{
|
||||||
|
Debug.WriteLine(string.Format("{0} - {1}", CrossGeofence.Id, "Monitoring stopped for all regions"));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnMonitoringStopped(string identifier)
|
||||||
|
{
|
||||||
|
Debug.WriteLine(string.Format("{0} - {1}: {2}", CrossGeofence.Id, "Monitoring stopped in region", identifier));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnError(string error)
|
||||||
|
{
|
||||||
|
Debug.WriteLine(string.Format("{0} - {1}: {2}", CrossGeofence.Id, "Error", error));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void OnRegionStateChanged(GeofenceResult result)
|
||||||
|
{
|
||||||
|
Debug.WriteLine(string.Format("{0} - {1}", CrossGeofence.Id, result.ToString()));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Note that you must call CrossGeofence.GeofenceListener.OnAppStarted() from your app when you want this method to run.
|
||||||
|
public void OnAppStarted()
|
||||||
|
{
|
||||||
|
Debug.WriteLine(string.Format("{0} - {1}", CrossGeofence.Tag, "App started"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,10 +1,13 @@
|
|||||||
using ZicMoove.Model.Auth.Account;
|
|
||||||
using System;
|
|
||||||
using Xamarin.Forms;
|
|
||||||
using Yavsc.Models.Identity;
|
|
||||||
|
|
||||||
namespace ZicMoove.Interfaces
|
namespace ZicMoove.Interfaces
|
||||||
{
|
{
|
||||||
|
public enum PayMethod
|
||||||
|
{
|
||||||
|
Immediate,
|
||||||
|
Delayed
|
||||||
|
}
|
||||||
|
|
||||||
public interface IPlatform
|
public interface IPlatform
|
||||||
{
|
{
|
||||||
void OpenWeb (string Uri);
|
void OpenWeb (string Uri);
|
||||||
@ -15,6 +18,9 @@ namespace ZicMoove.Interfaces
|
|||||||
void AddAccount();
|
void AddAccount();
|
||||||
|
|
||||||
void RevokeAccount(string userName);
|
void RevokeAccount(string userName);
|
||||||
|
|
||||||
|
void Pay(double amount, PayMethod method, string paymentName);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using YavscLib;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Yavsc.Models.Identity;
|
|
||||||
|
|
||||||
namespace ZicMoove.Model.Auth
|
namespace ZicMoove.Model.Auth
|
||||||
{
|
{
|
||||||
|
@ -4,6 +4,7 @@ using System;
|
|||||||
namespace ZicMoove.Model.Auth.Account
|
namespace ZicMoove.Model.Auth.Account
|
||||||
{
|
{
|
||||||
using Yavsc.Models;
|
using Yavsc.Models;
|
||||||
|
using YavscLib;
|
||||||
|
|
||||||
public class GoogleCloudMobileDeclaration
|
public class GoogleCloudMobileDeclaration
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using Yavsc.Models;
|
using YavscLib;
|
||||||
|
|
||||||
namespace ZicMoove.Model.Blog
|
namespace ZicMoove.Model.Blog
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using ZicMoove.Model.Social;
|
||||||
|
|
||||||
namespace ZicMoove.Model.Social
|
namespace ZicMoove.Model.Musical
|
||||||
{
|
{
|
||||||
public class BookQuery
|
public class BookQuery
|
||||||
{
|
{
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
namespace ZicMoove.Model.Social
|
namespace ZicMoove.Model.Musical
|
||||||
{
|
{
|
||||||
|
|
||||||
public class MusicalPreference : MusicalTendency {
|
public class MusicalPreference : MusicalTendency {
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
namespace ZicMoove.Model.Social
|
namespace ZicMoove.Model.Musical
|
||||||
{
|
{
|
||||||
|
|
||||||
public class MusicalTendency {
|
public class MusicalTendency {
|
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using Newtonsoft.Json;
|
||||||
|
using System;
|
||||||
using YavscLib;
|
using YavscLib;
|
||||||
|
|
||||||
namespace ZicMoove.Model.Workflow
|
namespace ZicMoove.Model.Workflow
|
||||||
@ -40,6 +41,12 @@ namespace ZicMoove.Model.Workflow
|
|||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
|
public string PhotoUri
|
||||||
|
{
|
||||||
|
get { return Constants.YavscHomeUrl + Photo; }
|
||||||
|
}
|
||||||
|
|
||||||
public int Rate
|
public int Rate
|
||||||
{
|
{
|
||||||
get; set;
|
get; set;
|
||||||
|
@ -8,6 +8,7 @@ namespace ZicMoove.Model.Workflow
|
|||||||
{
|
{
|
||||||
using Data;
|
using Data;
|
||||||
using Interfaces;
|
using Interfaces;
|
||||||
|
using Musical;
|
||||||
using Social;
|
using Social;
|
||||||
public partial class Estimate : IEstimate
|
public partial class Estimate : IEstimate
|
||||||
{
|
{
|
||||||
|
38
ZicMoove/ZicMoove/Pages/ClientPages/ActivityPage.xaml
Normal file
38
ZicMoove/ZicMoove/Pages/ClientPages/ActivityPage.xaml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="ZicMoove.Pages.ClientPages.ActivityPage"
|
||||||
|
xmlns:local="clr-namespace:ZicMoove;assembly=ZicMoove"
|
||||||
|
>
|
||||||
|
<CarouselPage.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<ContentPage>
|
||||||
|
<ContentPage.Padding>
|
||||||
|
<OnPlatform x:TypeArguments="Thickness" iOS="0,40,0,0" Android="0,40,0,0" />
|
||||||
|
</ContentPage.Padding>
|
||||||
|
<ScrollView>
|
||||||
|
|
||||||
|
<StackLayout>
|
||||||
|
<Label Text="{Binding Name}" FontSize="Medium" HorizontalOptions="Center" />
|
||||||
|
<Image Source="{Binding PhotoUri}" Margin="10,10,10,10" HorizontalOptions="Center" VerticalOptions="CenterAndExpand" />
|
||||||
|
<Label Text="{Binding Descrition}" HorizontalOptions="Center" />
|
||||||
|
<ListView ItemsSource="{Binding Forms}">
|
||||||
|
<ListView.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<ViewCell>
|
||||||
|
<ViewCell.View>
|
||||||
|
<StackLayout>
|
||||||
|
<Button Text="{Binding Title}" CommandParameter="{Binding Action}"/>
|
||||||
|
</StackLayout>
|
||||||
|
</ViewCell.View>
|
||||||
|
</ViewCell>
|
||||||
|
</DataTemplate>
|
||||||
|
</ListView.ItemTemplate>
|
||||||
|
</ListView>
|
||||||
|
</StackLayout>
|
||||||
|
</ScrollView>
|
||||||
|
</ContentPage>
|
||||||
|
</DataTemplate>
|
||||||
|
</CarouselPage.ItemTemplate>
|
||||||
|
|
||||||
|
</CarouselPage>
|
25
ZicMoove/ZicMoove/Pages/ClientPages/ActivityPage.xaml.cs
Normal file
25
ZicMoove/ZicMoove/Pages/ClientPages/ActivityPage.xaml.cs
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
using Xamarin.Forms;
|
||||||
|
using ZicMoove.Data;
|
||||||
|
|
||||||
|
namespace ZicMoove.Pages.ClientPages
|
||||||
|
{
|
||||||
|
public partial class ActivityPage
|
||||||
|
{
|
||||||
|
public ActivityPage()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
ItemsSource = DataManager.Instance.Activities;
|
||||||
|
|
||||||
|
}
|
||||||
|
public ActivityPage(object context)
|
||||||
|
{
|
||||||
|
BindingContext = context;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -8,7 +8,6 @@
|
|||||||
xmlns:converters="clr-namespace:ZicMoove.Converters;assembly=ZicMoove"
|
xmlns:converters="clr-namespace:ZicMoove.Converters;assembly=ZicMoove"
|
||||||
xmlns:local="clr-namespace:ZicMoove;Assembly:ZicMoove"
|
xmlns:local="clr-namespace:ZicMoove;Assembly:ZicMoove"
|
||||||
xmlns:extensions="clr-namespace:ZicMoove.Extensions;assembly=ZicMoove"
|
xmlns:extensions="clr-namespace:ZicMoove.Extensions;assembly=ZicMoove"
|
||||||
|
|
||||||
Style="{StaticResource PageStyle}" >
|
Style="{StaticResource PageStyle}" >
|
||||||
|
|
||||||
<TabbedPage.Children>
|
<TabbedPage.Children>
|
||||||
|
20
ZicMoove/ZicMoove/Pages/ClientPages/Workflow/WFBookPage.cs
Normal file
20
ZicMoove/ZicMoove/Pages/ClientPages/Workflow/WFBookPage.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
using ZicMoove.Model.Social;
|
||||||
|
using System;
|
||||||
|
using Xamarin.Forms;
|
||||||
|
using Xamarin.Forms.Maps;
|
||||||
|
using Yavsc;
|
||||||
|
using ZicMoove.Data;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using XLabs.Platform.Services.Geolocation;
|
||||||
|
using Plugin.Geolocator;
|
||||||
|
|
||||||
|
namespace ZicMoove.Pages.ClientPages
|
||||||
|
{
|
||||||
|
public class WorkflowBookPage : PinPage
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,6 +7,7 @@ namespace ZicMoove.Pages
|
|||||||
{
|
{
|
||||||
using Data;
|
using Data;
|
||||||
using EstimatePages;
|
using EstimatePages;
|
||||||
|
using Model.Musical;
|
||||||
using Model.Social;
|
using Model.Social;
|
||||||
using Model.Workflow;
|
using Model.Workflow;
|
||||||
using Settings;
|
using Settings;
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
xmlns:views="clr-namespace:ZicMoove.Views;assembly=ZicMoove"
|
xmlns:views="clr-namespace:ZicMoove.Views;assembly=ZicMoove"
|
||||||
xmlns:extensions="clr-namespace:ZicMoove.Extensions;assembly=ZicMoove"
|
xmlns:extensions="clr-namespace:ZicMoove.Extensions;assembly=ZicMoove"
|
||||||
xmlns:controls="clr-namespace:XLabs.Forms.Controls;assembly=XLabs.Forms"
|
xmlns:controls="clr-namespace:XLabs.Forms.Controls;assembly=XLabs.Forms"
|
||||||
Style="{StaticResource PageStyle}">
|
Style="{StaticResource PageStyle}">
|
||||||
|
|
||||||
|
|
||||||
<ScrollView>
|
<ScrollView>
|
||||||
<ScrollView.Padding>
|
<ScrollView.Padding>
|
||||||
@ -50,6 +49,8 @@
|
|||||||
|
|
||||||
<Button Text="{Binding PerformerStatus}" Clicked="OnViewPerformerStatus" />
|
<Button Text="{Binding PerformerStatus}" Clicked="OnViewPerformerStatus" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
|
||||||
|
<Button Text="Payer" x:Name="btnPay"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
@ -5,15 +5,20 @@ using Plugin.Media.Abstractions;
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
|
using ZicMoove.Settings;
|
||||||
|
using ZicMoove.Helpers;
|
||||||
|
using System.Net.Http;
|
||||||
|
|
||||||
namespace ZicMoove.Pages.UserProfile
|
namespace ZicMoove.Pages.UserProfile
|
||||||
{
|
{
|
||||||
public partial class UserProfilePage : ContentPage
|
public partial class UserProfilePage
|
||||||
{
|
{
|
||||||
public UserProfilePage()
|
public UserProfilePage()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
AvatarButton.Clicked += AvatarButton_Clicked;
|
AvatarButton.Clicked += AvatarButton_Clicked;
|
||||||
|
btnPay.Clicked += BtnPay_Clicked;
|
||||||
|
|
||||||
}
|
}
|
||||||
public UserProfilePage(UserProfileViewModel model)
|
public UserProfilePage(UserProfileViewModel model)
|
||||||
{
|
{
|
||||||
@ -21,14 +26,23 @@ namespace ZicMoove.Pages.UserProfile
|
|||||||
AvatarButton.Clicked += AvatarButton_Clicked;
|
AvatarButton.Clicked += AvatarButton_Clicked;
|
||||||
BindingContext = model;
|
BindingContext = model;
|
||||||
}
|
}
|
||||||
private async void AvatarButton_Clicked (object sender, EventArgs e)
|
|
||||||
|
|
||||||
|
private async void BtnPay_Clicked(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
App.PlatformSpecificInstance.Pay(0.1, Interfaces.PayMethod.Immediate, "test payment");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private async void AvatarButton_Clicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported)
|
if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported)
|
||||||
{
|
{
|
||||||
await DisplayAlert("No Camera", ":( No camera avaialble.", "OK");
|
await DisplayAlert("No Camera", ":( No camera avaialble.", "OK");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
IsBusy = true;
|
||||||
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
|
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
|
||||||
{
|
{
|
||||||
Directory = "Avatars",
|
Directory = "Avatars",
|
||||||
@ -37,13 +51,31 @@ namespace ZicMoove.Pages.UserProfile
|
|||||||
|
|
||||||
if (file == null)
|
if (file == null)
|
||||||
return;
|
return;
|
||||||
// ImageSource.FromFile(file.Path);
|
using (var client = UserHelpers.CreateJsonClient())
|
||||||
/* ImageSource.FromStream(() =>
|
|
||||||
{
|
{
|
||||||
var stream = file.GetStream();
|
// Get the whole data
|
||||||
file.Dispose();
|
try
|
||||||
return stream;
|
{
|
||||||
}); */
|
using (var stream = file.GetStream())
|
||||||
|
{
|
||||||
|
var content = new StreamContent(stream);
|
||||||
|
|
||||||
|
using (var response = await client.PostAsync(Constants.YavscApiUrl + "/setavatar", content))
|
||||||
|
{
|
||||||
|
if (response.IsSuccessStatusCode)
|
||||||
|
{
|
||||||
|
// TODO image update
|
||||||
|
var recnt = await response.Content.ReadAsStringAsync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// TODO error report
|
||||||
|
}
|
||||||
|
}
|
||||||
|
IsBusy = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnManageFiles(object sender, EventArgs e)
|
public void OnManageFiles(object sender, EventArgs e)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"
|
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:local="clr-namespace:ZicMoove;assembly=ZicMoove"
|
xmlns:local="clr-namespace:ZicMoove;assembly=ZicMoove"
|
||||||
x:Class="ZicMoove.Pages.HomePage"
|
x:Class="ZicMoove.Pages.WorkflowPage"
|
||||||
Style="{StaticResource PageStyle}"
|
Style="{StaticResource PageStyle}"
|
||||||
Title="Accueil">
|
Title="Accueil">
|
||||||
<CarouselPage.Resources>
|
<CarouselPage.Resources>
|
@ -5,21 +5,21 @@ namespace ZicMoove.Pages
|
|||||||
using Data;
|
using Data;
|
||||||
using ViewModels;
|
using ViewModels;
|
||||||
using ViewModels.EstimateAndBilling;
|
using ViewModels.EstimateAndBilling;
|
||||||
public partial class HomePage
|
public partial class WorkflowPage
|
||||||
{
|
{
|
||||||
public HomePage()
|
public WorkflowPage()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public HomePage(HomeViewModel model)
|
public WorkflowPage(WorkflowViewModel model)
|
||||||
{
|
{
|
||||||
BindingContext = model;
|
BindingContext = model;
|
||||||
}
|
}
|
||||||
|
|
||||||
public HomeViewModel Model {
|
public WorkflowViewModel Model {
|
||||||
get {
|
get {
|
||||||
return (HomeViewModel) BindingContext;
|
return (WorkflowViewModel) BindingContext;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
@ -11,6 +11,7 @@ namespace ZicMoove.Settings
|
|||||||
{
|
{
|
||||||
using Model.Social;
|
using Model.Social;
|
||||||
using Model.Auth.Account;
|
using Model.Auth.Account;
|
||||||
|
using Model.Musical;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is the Settings static class that can be used in your Core solution or in any
|
/// This is the Settings static class that can be used in your Core solution or in any
|
||||||
|
@ -9,6 +9,7 @@ namespace ZicMoove.ViewModels.EstimateAndBilling
|
|||||||
using Helpers;
|
using Helpers;
|
||||||
using Interfaces;
|
using Interfaces;
|
||||||
using Model;
|
using Model;
|
||||||
|
using Model.Musical;
|
||||||
using Model.Social;
|
using Model.Social;
|
||||||
using Model.Workflow;
|
using Model.Workflow;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
@ -11,6 +11,8 @@ namespace ZicMoove.ViewModels.EstimateAndBilling
|
|||||||
using Model.Workflow;
|
using Model.Workflow;
|
||||||
using Model.Social;
|
using Model.Social;
|
||||||
using Validation;
|
using Validation;
|
||||||
|
using Model.Musical;
|
||||||
|
|
||||||
public class EditEstimateViewModel : EditingViewModel<Estimate>
|
public class EditEstimateViewModel : EditingViewModel<Estimate>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using XLabs.Forms.Mvvm;
|
||||||
|
using ZicMoove.Model.Social;
|
||||||
|
using ZicMoove.Model.Workflow.Messaging;
|
||||||
|
using ZicMoove.ViewModels.Validation;
|
||||||
|
|
||||||
|
namespace ZicMoove.ViewModels.WorkFlow
|
||||||
|
{
|
||||||
|
class WorkflowBookViewModel : EditingViewModel<BookQuery>
|
||||||
|
{
|
||||||
|
public WorkflowBookViewModel(BookQuery data) : base(data)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -5,7 +5,7 @@ namespace ZicMoove.ViewModels
|
|||||||
using EstimateAndBilling;
|
using EstimateAndBilling;
|
||||||
using UserProfile;
|
using UserProfile;
|
||||||
|
|
||||||
public class HomeViewModel : ViewModel
|
public class WorkflowViewModel : ViewModel
|
||||||
{
|
{
|
||||||
public BookQueriesViewModel BookQueries { get; set; }
|
public BookQueriesViewModel BookQueries { get; set; }
|
||||||
public UserProfileViewModel UserProfile { get; set; }
|
public UserProfileViewModel UserProfile { get; set; }
|
@ -47,6 +47,33 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZicMoove|AnyCPU'">
|
||||||
|
<OutputPath>bin\ZicMoove\</OutputPath>
|
||||||
|
<DefineConstants>TRACE;ZICMOOVE</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Yavsc|AnyCPU'">
|
||||||
|
<OutputPath>bin\Yavsc\</OutputPath>
|
||||||
|
<DefineConstants>TRACE;YAVSC</DefineConstants>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WinDev|AnyCPU'">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<OutputPath>bin\WinDev\</OutputPath>
|
||||||
|
<DefineConstants>TRACE;DEBUG;WDEV</DefineConstants>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="App.xaml.cs">
|
<Compile Include="App.xaml.cs">
|
||||||
<DependentUpon>App.xaml</DependentUpon>
|
<DependentUpon>App.xaml</DependentUpon>
|
||||||
@ -69,8 +96,8 @@
|
|||||||
<Compile Include="Data\NonCrUD\RemoteFiles.cs" />
|
<Compile Include="Data\NonCrUD\RemoteFiles.cs" />
|
||||||
<Compile Include="Model\Access\BlackListed.cs" />
|
<Compile Include="Model\Access\BlackListed.cs" />
|
||||||
<Compile Include="Model\Auth\GCRegIdDeclaration.cs" />
|
<Compile Include="Model\Auth\GCRegIdDeclaration.cs" />
|
||||||
<Compile Include="Model\Booking\MusicalPreference.cs" />
|
<Compile Include="Model\Musical\MusicalPreference.cs" />
|
||||||
<Compile Include="Model\Booking\MusicalTendency.cs" />
|
<Compile Include="Model\Musical\MusicalTendency.cs" />
|
||||||
<Compile Include="Model\FileSystem\UserDirectoryInfo.cs" />
|
<Compile Include="Model\FileSystem\UserDirectoryInfo.cs" />
|
||||||
<Compile Include="Model\FileSystem\UserFileInfo.cs" />
|
<Compile Include="Model\FileSystem\UserFileInfo.cs" />
|
||||||
<Compile Include="Model\Settings\SignatureSettings.cs" />
|
<Compile Include="Model\Settings\SignatureSettings.cs" />
|
||||||
@ -79,11 +106,15 @@
|
|||||||
<Compile Include="Model\Social\LocationType.cs" />
|
<Compile Include="Model\Social\LocationType.cs" />
|
||||||
<Compile Include="Model\Workflow\Activity.cs" />
|
<Compile Include="Model\Workflow\Activity.cs" />
|
||||||
<Compile Include="Model\Workflow\CommandForm.cs" />
|
<Compile Include="Model\Workflow\CommandForm.cs" />
|
||||||
|
<Compile Include="Pages\ClientPages\ActivityPage.xaml.cs">
|
||||||
|
<DependentUpon>ActivityPage.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Pages\ClientPages\Workflow\WFBookPage.cs" />
|
||||||
<Compile Include="Pages\ClientPages\SearchPage.xaml.cs">
|
<Compile Include="Pages\ClientPages\SearchPage.xaml.cs">
|
||||||
<DependentUpon>SearchPage.xaml</DependentUpon>
|
<DependentUpon>SearchPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Settings\MainSettings.Private.cs" />
|
<Compile Include="Settings\MainSettings.Private.cs" />
|
||||||
<Compile Include="ViewModels\HomeViewModel.cs" />
|
<Compile Include="ViewModels\WorkflowViewModel.cs" />
|
||||||
<Compile Include="ViewModels\Messaging\ChatUserCollection.cs" />
|
<Compile Include="ViewModels\Messaging\ChatUserCollection.cs" />
|
||||||
<Compile Include="ViewModels\Messaging\ChatUserInfo.cs" />
|
<Compile Include="ViewModels\Messaging\ChatUserInfo.cs" />
|
||||||
<Compile Include="Model\Social\Chat\Connection.cs" />
|
<Compile Include="Model\Social\Chat\Connection.cs" />
|
||||||
@ -129,6 +160,7 @@
|
|||||||
<Compile Include="ViewModels\UserProfile\UserProfileViewModel.cs" />
|
<Compile Include="ViewModels\UserProfile\UserProfileViewModel.cs" />
|
||||||
<Compile Include="ViewModels\UserProfile\DirectoryInfoViewModel.cs" />
|
<Compile Include="ViewModels\UserProfile\DirectoryInfoViewModel.cs" />
|
||||||
<Compile Include="ViewModels\Validation\ErrorSeverity.cs" />
|
<Compile Include="ViewModels\Validation\ErrorSeverity.cs" />
|
||||||
|
<Compile Include="ViewModels\WorkFlow\WorkflowBookViewModel.cs" />
|
||||||
<Compile Include="Views\ActivityView.cs" />
|
<Compile Include="Views\ActivityView.cs" />
|
||||||
<Compile Include="Views\EnumPicker.cs" />
|
<Compile Include="Views\EnumPicker.cs" />
|
||||||
<Compile Include="Converters\BooleanToObjectConverter.cs" />
|
<Compile Include="Converters\BooleanToObjectConverter.cs" />
|
||||||
@ -180,7 +212,7 @@
|
|||||||
<Compile Include="Interfaces\IPlatform.cs" />
|
<Compile Include="Interfaces\IPlatform.cs" />
|
||||||
<Compile Include="Model\Blog\Blog.cs" />
|
<Compile Include="Model\Blog\Blog.cs" />
|
||||||
<Compile Include="Model\Blog\BlogTag.cs" />
|
<Compile Include="Model\Blog\BlogTag.cs" />
|
||||||
<Compile Include="Model\Booking\BookQuery.cs" />
|
<Compile Include="Model\Musical\BookQuery.cs" />
|
||||||
<Compile Include="Model\Market\BaseProduct.cs" />
|
<Compile Include="Model\Market\BaseProduct.cs" />
|
||||||
<Compile Include="Pages\EstimatePages\BillingLine.cs" />
|
<Compile Include="Pages\EstimatePages\BillingLine.cs" />
|
||||||
<Compile Include="Model\Auth\MobileAppDeclaration.cs" />
|
<Compile Include="Model\Auth\MobileAppDeclaration.cs" />
|
||||||
@ -219,10 +251,10 @@
|
|||||||
<Compile Include="Pages\EstimatePages\EditEstimatePage.xaml.cs">
|
<Compile Include="Pages\EstimatePages\EditEstimatePage.xaml.cs">
|
||||||
<DependentUpon>EditEstimatePage.xaml</DependentUpon>
|
<DependentUpon>EditEstimatePage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\HomePage.xaml.cs">
|
<Compile Include="Pages\WorkflowPage.xaml.cs">
|
||||||
<DependentUpon>HomePage.xaml</DependentUpon>
|
<DependentUpon>WorkflowPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\EstimatePages\PinPage.cs" />
|
<Compile Include="Pages\PinPage.cs" />
|
||||||
<Compile Include="ViewModels\EstimateAndBilling\BookQueriesViewModel.cs" />
|
<Compile Include="ViewModels\EstimateAndBilling\BookQueriesViewModel.cs" />
|
||||||
<Compile Include="ViewModels\EstimateAndBilling\BookQueryViewModel.cs" />
|
<Compile Include="ViewModels\EstimateAndBilling\BookQueryViewModel.cs" />
|
||||||
<Compile Include="ViewModels\EstimateAndBilling\BillingLineViewModel.cs" />
|
<Compile Include="ViewModels\EstimateAndBilling\BillingLineViewModel.cs" />
|
||||||
@ -280,6 +312,14 @@
|
|||||||
<HintPath>..\..\packages\ExifLib.PCL.1.0.1\lib\portable-net45+sl50+win+WindowsPhoneApp81+wp80+Xamarin.iOS10+MonoAndroid10+MonoTouch10\ExifLib.dll</HintPath>
|
<HintPath>..\..\packages\ExifLib.PCL.1.0.1\lib\portable-net45+sl50+win+WindowsPhoneApp81+wp80+Xamarin.iOS10+MonoAndroid10+MonoTouch10\ExifLib.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Geofence.Plugin, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xam.Plugin.Geofence.1.1.2\lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Geofence.Plugin.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Geofence.Plugin.Abstractions, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\Xam.Plugin.Geofence.1.1.2\lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Geofence.Plugin.Abstractions.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Json.NET.Web">
|
<Reference Include="Json.NET.Web">
|
||||||
<HintPath>..\..\packages\Json.NET.Web.1.0.49\lib\portable45-net45+win8+wpa81\Json.NET.Web.dll</HintPath>
|
<HintPath>..\..\packages\Json.NET.Web.1.0.49\lib\portable45-net45+win8+wpa81\Json.NET.Web.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
@ -366,6 +406,10 @@
|
|||||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
<HintPath>..\..\packages\Xamarin.Forms.2.3.2.127\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="XamForms.Controls.Calendar, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\XamForms.Controls.Calendar.1.0.7\lib\portable-net45+wp8+win8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10+UAP10\XamForms.Controls.Calendar.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="XLabs.Caching, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="XLabs.Caching, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\XLabs.Caching.2.3.0-pre02\lib\portable-net45+netcore45+wpa81+wp8+monoandroid+monotouch+xamarinios10+xamarinmac\XLabs.Caching.dll</HintPath>
|
<HintPath>..\..\packages\XLabs.Caching.2.3.0-pre02\lib\portable-net45+netcore45+wpa81+wp8+monoandroid+monotouch+xamarinios10+xamarinmac\XLabs.Caching.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
@ -438,7 +482,7 @@
|
|||||||
<EmbeddedResource Include="Images\Users\icon_user_settings.png" />
|
<EmbeddedResource Include="Images\Users\icon_user_settings.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Pages\HomePage.xaml">
|
<EmbeddedResource Include="Pages\WorkflowPage.xaml">
|
||||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
@ -547,7 +591,21 @@
|
|||||||
<Name>YavscLib</Name>
|
<Name>YavscLib</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Pages\ClientPages\ActivityPage.xaml">
|
||||||
|
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="Helpers\CrossGeofenceListener.txt" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
|
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
|
||||||
|
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
|
||||||
|
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
|
||||||
|
<Error Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
|
||||||
|
</Target>
|
||||||
<Import Project="..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
<Import Project="..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
@ -555,11 +613,6 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.2.127\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
|
|
||||||
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
|
|
||||||
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
|
|
||||||
<Error Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
|
|
||||||
</Target>
|
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
@ -10,10 +10,12 @@
|
|||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="SQLite.Net.Core-PCL" version="3.1.1" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="SQLite.Net.Core-PCL" version="3.1.1" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="SQLite.Net-PCL" version="3.1.1" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="SQLite.Net-PCL" version="3.1.1" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
|
<package id="Xam.Plugin.Geofence" version="1.1.2" targetFramework="portable45-net45+win8+wpa81" developmentDependency="true" />
|
||||||
<package id="Xam.Plugins.Settings" version="2.5.1.0" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="Xam.Plugins.Settings" version="2.5.1.0" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="Xamarin.Controls.SignaturePad.Forms" version="1.4.0" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="Xamarin.Controls.SignaturePad.Forms" version="1.4.0" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="Xamarin.Forms" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="Xamarin.Forms" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="Xamarin.Forms.Maps" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="Xamarin.Forms.Maps" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
|
<package id="XamForms.Controls.Calendar" version="1.0.7" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="XLabs.Caching" version="2.3.0-pre02" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="XLabs.Caching" version="2.3.0-pre02" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="XLabs.Core" version="2.3.0-pre02" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="XLabs.Core" version="2.3.0-pre02" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
<package id="XLabs.Forms" version="2.3.0-pre02" targetFramework="portable45-net45+win8+wpa81" />
|
<package id="XLabs.Forms" version="2.3.0-pre02" targetFramework="portable45-net45+win8+wpa81" />
|
||||||
|
27
build.sh
Normal file
27
build.sh
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
BUILDCMD=MSBuild.exe
|
||||||
|
|
||||||
|
PATH+=':/cygdrive/c/cygwin64/bin'
|
||||||
|
|
||||||
|
for p in 'C:\Program Files (x86)\MSBuild\14.0\Bin' 'C:\Users\paul\bin' 'C:\Users\paul\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update2\bin' 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools' 'C:\Program Files (x86)\Microsoft Visual Studio14.0\Common7\IDE\' 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN' 'C:\Windows\Microsoft.NET\Framework\v4.0.30319' 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages' 'C:\Program Files (x86)\HTML Help Workshop' 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools' 'C:\Program Files (x86)\Windows Kits\10\bin\x86' 'C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\' 'C:\ProgramData\Oracle\Java\javapath' 'C:\Program Files\dotnet' 'C:\Program Files (x86)\Microsoft VS Code\bin'
|
||||||
|
do
|
||||||
|
PATH+=:`cygpath $p`
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "$BUILDCONFIG" == "" ]]
|
||||||
|
then
|
||||||
|
BUILDCONFIG="Lua Yavsc ZicMoove Debug"
|
||||||
|
fi
|
||||||
|
echo "Building $BUILDCONFIG ..."
|
||||||
|
|
||||||
|
for conf in $BUILDCONFIG
|
||||||
|
do
|
||||||
|
$BUILDCMD /p:Configuration=$conf /t:SignAndroidPackage ZicMoove/ZicMoove.Droid/ZicMoove.Droid.csproj /logger:"Kobush.Build.Logging.XmlLogger,Kobush.Build.dll;build-$conf-result.xml"
|
||||||
|
xsltproc -o "build-$conf-result.html" "msbuild.xsl" "build-$conf-result.xml"
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# ;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
|
||||||
|
# \;;;;;;;;;;C:\Program Files (x86)\PHP\;C:\csvn\bin\;C:\csvn\Python25\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;\;
|
186
msbuild.xsl
Normal file
186
msbuild.xsl
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE xsl:stylesheet [
|
||||||
|
<!ENTITY nbsp " ">
|
||||||
|
]>
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
<xsl:output method="html"/>
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:variable name="buildresults" select="//msbuild" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="count($buildresults) > 0">
|
||||||
|
<xsl:apply-templates select="$buildresults" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<h2>Log does not contain any XML output from MSBuild.</h2>
|
||||||
|
<p>
|
||||||
|
Please make sure that MSBuild is executed using the XmlLogger
|
||||||
|
(use the argument: <b style="white-space:nowrap">/logger:Kobush.Build.Logging.XmlLogger,Kobush.Build.dll</b>).
|
||||||
|
</p>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="msbuild">
|
||||||
|
<table class="section-table" cellpadding="2" cellspacing="0" border="0" width="98%">
|
||||||
|
<tr>
|
||||||
|
<td class="sectionheader">
|
||||||
|
Build started <xsl:value-of select="@startTime"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<xsl:variable name="errors" select="//error" />
|
||||||
|
<xsl:variable name="warnings" select="//warning" />
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="sectionheader">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="count($errors) > 0">
|
||||||
|
Build FAILED
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
Build succeeded
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<xsl:if test="count($errors)+count($warnings) > 0">
|
||||||
|
<xsl:apply-templates select="$errors"/>
|
||||||
|
<xsl:apply-templates select="$warnings"/>
|
||||||
|
<br/>
|
||||||
|
<div style="color:orangered">
|
||||||
|
<xsl:value-of select="count($errors)"/> Error(s)
|
||||||
|
</div>
|
||||||
|
<div style="color:gold">
|
||||||
|
<xsl:value-of select="count($warnings)"/> Warning(s)
|
||||||
|
</div>
|
||||||
|
<br/>
|
||||||
|
</xsl:if>
|
||||||
|
Time elapsed <xsl:value-of select="duration"/> (seconds).
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="project">
|
||||||
|
<div style="color:dodgerblue;margin:4 0">
|
||||||
|
Project "<xsl:value-of select="@file"/>"
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="@name">
|
||||||
|
(<xsl:value-of select="@name"/> target(s)):
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
(default targets):
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</div>
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
<xsl:if test="count(.//error) > 0">
|
||||||
|
<div style="color:dodgerblue;margin:2 0">
|
||||||
|
Done building project "<xsl:call-template name="projectName">
|
||||||
|
<xsl:with-param name="string">
|
||||||
|
<xsl:value-of select="@file" />
|
||||||
|
</xsl:with-param>
|
||||||
|
</xsl:call-template>" -- FAILED.
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="projectName">
|
||||||
|
<xsl:param name="string" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="contains($string, '\')">
|
||||||
|
<xsl:call-template name="projectName">
|
||||||
|
<xsl:with-param name="string">
|
||||||
|
<xsl:value-of select="substring-after($string, '\')" />
|
||||||
|
</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="$string" />
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="target">
|
||||||
|
<div style="color:dodgerblue;margin:2 0">
|
||||||
|
Target "<xsl:value-of select="@name"/>":
|
||||||
|
</div>
|
||||||
|
<xsl:if test="*">
|
||||||
|
<div style="margin-left:10px;padding-left:10;border-left: 1px solid silver">
|
||||||
|
<xsl:apply-templates />
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
<!-- write only if error in current element (not in sub target) -->
|
||||||
|
<xsl:if test="count(.//error) > 0 and count(.//target//error) = 0">
|
||||||
|
<div style="color:dodgerblue;margin:2 0">
|
||||||
|
Done building target "<xsl:value-of select="@name"/>" -- FAILED.
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="task">
|
||||||
|
<div style="color:dodgerblue;margin:2 0">
|
||||||
|
Task "<xsl:value-of select="@name"/>":
|
||||||
|
</div>
|
||||||
|
<xsl:if test="*">
|
||||||
|
<div style="margin-left:10px;padding-left:10;border-left: 1px solid silver">
|
||||||
|
<xsl:apply-templates />
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
<div style="color:dodgerblue;margin:2 0">
|
||||||
|
Done executing task "<xsl:value-of select="@name"/>"
|
||||||
|
<xsl:if test="count(.//error) > 0">-- FAILED</xsl:if>.
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="message">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="@level = 'low'">
|
||||||
|
<div style="color:silver">
|
||||||
|
<xsl:value-of select="text()"/>
|
||||||
|
</div>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:when test="@level = 'normal'">
|
||||||
|
<div style="color:darkgray">
|
||||||
|
<xsl:value-of select="text()"/>
|
||||||
|
</div>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<div style="color:dimgray">
|
||||||
|
<xsl:value-of select="text()"/>
|
||||||
|
</div>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="error">
|
||||||
|
<div style="color:orangered">
|
||||||
|
<xsl:if test="@file != ''" >
|
||||||
|
<xsl:value-of select="@file"/> (<xsl:value-of select="@line"/>,<xsl:value-of select="@column"/>):
|
||||||
|
</xsl:if>
|
||||||
|
error <xsl:value-of select="@code"/>: <xsl:value-of select="text()" />
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="warning">
|
||||||
|
<div style="color:gold">
|
||||||
|
<xsl:if test="@file != ''" >
|
||||||
|
<xsl:value-of select="@file"/> (<xsl:value-of select="@line"/>,<xsl:value-of select="@column"/>):
|
||||||
|
</xsl:if>
|
||||||
|
warning <xsl:value-of select="@code"/>: <xsl:value-of select="text()" />
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="duration">
|
||||||
|
<!--Duration <xsl:value-of select="text()"/> (seconds).-->
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
Reference in New Issue
Block a user