This repository was archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Master based xamarin auth as nuget component #43
Open
moljac
wants to merge
20
commits into
xamarin:master
Choose a base branch
from
moljac:master-based-xamarin-auth-as-nuget-component
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
47bd7ef
src folder renamed to source (Xamarin CI structure convention)
moljac 1baa9b5
new structure for Components CI
moljac 9c0abf2
nuget nuspec finished
moljac bf4eccc
fixes
moljac 89c3925
samples moved
moljac 96ae97f
samples projects moved
moljac 9b7e5c5
Xamarin.Android fixes
moljac c4e2972
source folders renaming/restructuring (consistent with Xamarin.Auth)
moljac da302b2
sources for projects that reference nuget file-linked to projects tha…
moljac 6287c4d
samples fixed
moljac de8625e
version update
moljac cb0bf4c
packages update
moljac 36d747c
nuspec update
moljac 23b5cfc
code for Xamarin.Auth submodule update
moljac 9cbb52e
reduced/flattened folder structure (reduced number of projects with c…
moljac a61b987
gitignore
moljac bf058b3
Xamarin.Android project added
moljac cc7c5b6
submodule code externals/Xamarin.Auth
moljac d8318a5
project referemnces
moljac 8bc2940
removed old folder where Xamarin.Auth code was copied - code is now i…
moljac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| [submodule "Xamarin.Auth"] | ||
| path = Xamarin.Auth | ||
| [submodule "externals/Xamarin.Auth"] | ||
| path = externals/Xamarin.Auth | ||
| url = https://github.com/xamarin/Xamarin.Auth.git | ||
Empty file.
Submodule Xamarin.Auth
deleted from
ea5965
Submodule Xamarin.Auth
added at
abc6ca
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| echo off | ||
|
|
||
| set SOLUTIONS=^ | ||
| externals/Xamarin.Auth/source/Xamarin.Auth-Library.sln | ||
|
|
||
| cinst NuGet.Commandline | ||
|
|
||
| for %%s IN (%SOLUTIONS%) DO ( | ||
| echo nuget restore %%s | ||
| nuget.exe restore %%s | ||
| ) | ||
|
|
||
| @IF %ERRORLEVEL% NEQ 0 PAUSE | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,161 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
| <!-- | ||
| https://docs.nuget.org/create/nuspec-reference#specifying-dependencies | ||
| --> | ||
| <metadata minClientVersion="2.8.1"> | ||
| <id> | ||
| Xamarin.Social | ||
| </id> | ||
| <!-- | ||
| SemVer - Semantic Versioning | ||
| http://semver.org/ | ||
| --> | ||
| <version> | ||
| 1.1.8 | ||
| </version> | ||
| <title> | ||
| Xamarin.Social | ||
| </title> | ||
| <authors> | ||
| Xamarin | ||
| </authors> | ||
| <owners> | ||
| Xamarin | ||
| </owners> | ||
| <copyright> | ||
| Copyright 2013-2017 | ||
| </copyright> | ||
| <licenseUrl> | ||
| https://github.com/xamarin/Xamarin.Social/blob/master/License.md | ||
| </licenseUrl> | ||
| <projectUrl> | ||
| https://github.com/xamarin/Xamarin.Social | ||
| </projectUrl> | ||
| <iconUrl> | ||
| https://xamarin-component-icons.s3.amazonaws.com/Xamarin.Social.png | ||
| </iconUrl> | ||
| <requireLicenseAcceptance> | ||
| false | ||
| </requireLicenseAcceptance> | ||
| <description> | ||
| Share statuses, links, and images on Facebook, Flickr, Twitter and more. | ||
| </description> | ||
| <summary> | ||
| Xamarin.Social posts statuses, links, images, and other media to social networks using | ||
| a simple, cross-platform API. With Xamarin.Social, you can easily: | ||
|
|
||
| Share text and images on social networks. | ||
| Access social network APIs using authenticated requests. | ||
| Automatically and securely store user credentials using Xamarin.Auth. | ||
|
|
||
| Xamarin.Social currently works with these social networks, and can be extended | ||
| to support custom services: | ||
|
|
||
| App.net | ||
| Flickr | ||
| </summary> | ||
| <tags> | ||
| xamarin, | ||
| pcl, | ||
| android, monoandroid, monodroid, xamarin.android, | ||
| ios, monotouch, xamarin.ios | ||
| windows phone, winphone, wp, | ||
| windows phone 8 silverlight, winphone 8 sl, wp8 sl | ||
| windows phone 8.1 silverlight, winphone 8.1 sl, wp81 sl | ||
| windows 8.1, windows 8.1 winrt, win81 | ||
| windows phone 8.1 winrt, winphone 8.1 winrt, wpa81 | ||
| <!-- | ||
| universal windows platform, uwp, windows 10 | ||
| plugin for xamarin, plugin, | ||
| xamarin.forms, | ||
| --> | ||
| </tags> | ||
| <dependencies> | ||
| <dependency id="Xamarin.Auth" version="1.3.0"/> | ||
| </dependencies> | ||
| </metadata> | ||
| <files> | ||
| <!-- | ||
| src | ||
| on windows with \ | ||
| on macosx with / | ||
| --> | ||
| <!-- | ||
| Core - Portable | ||
| --> | ||
| <file | ||
| src="./output/pcl/Xamarin.Social.dll" | ||
| target="lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+XamarinIOS10\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
|
|
||
| <!-- | ||
| Xamarin.Android | ||
| --> | ||
| <file | ||
| src="./output/android/Xamarin.Social.dll" | ||
| target="lib\MonoAndroid10\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
|
|
||
| <!-- | ||
| Xamarin.iOS | ||
| Unified | ||
| --> | ||
| <file | ||
| src="./output/ios-unified/Xamarin.Social.dll" | ||
| target="lib\Xamarin.iOS10\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
|
|
||
| <!-- | ||
| Xamarin.iOS Classic | ||
| <file | ||
| src="source/output/ios/Xamarin.Social.dll" | ||
| target="lib\MonoTouch10\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
| --> | ||
|
|
||
| <!-- | ||
| Windows Phone 8 Silverlight | ||
| <file | ||
| src="source/output/wp80/Xamarin.Social.dll" | ||
| target="lib\wp8\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
| --> | ||
|
|
||
| <!-- | ||
| Windows Phone 8.1 WinRT | ||
| <file | ||
| src="source/output/wpa81/Xamarin.Social.dll" | ||
| target="lib\wpa81\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
| --> | ||
|
|
||
| <!-- | ||
| Windows 8.1 WinRT | ||
| Windows Store | ||
| <file | ||
| src="source/output/win81/Xamarin.Social.dll" | ||
| target="lib\win81\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
| --> | ||
| <!-- | ||
| Universal Windows Platform, UWP | ||
| Windows 10 | ||
| <file | ||
| src="source/output/uwp/Xamarin.Social.dll" | ||
| target="lib\uwp\Xamarin.Social.dll" | ||
| > | ||
| </file> | ||
| --> | ||
|
|
||
| </files> | ||
| </package> |
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
...ld-for-backward-compatiblity/Xamarin.Social.Sample.Android/Properties/AndroidManifest.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <?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="Xamarin.Social.Sample.Android"> | ||
| <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="23" /> | ||
| <application android:label="Xamarin.Social.Sample.Android"></application> | ||
| </manifest> |
File renamed without changes
File renamed without changes.
File renamed without changes.
148 changes: 74 additions & 74 deletions
148
...in.Social.Sample.Android-Component.csproj → ...in.Social.Sample.Android-Component.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,74 +1,74 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <PropertyGroup> | ||
| <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
| <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
| <ProductVersion>8.0.30703</ProductVersion> | ||
| <SchemaVersion>2.0</SchemaVersion> | ||
| <ProjectGuid>{02315614-C71C-4877-917C-6DB21FD9CC95}</ProjectGuid> | ||
| <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
| <OutputType>Library</OutputType> | ||
| <RootNamespace>Xamarin.Social.Sample.Android</RootNamespace> | ||
| <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix> | ||
| <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix> | ||
| <AndroidResgenClass>Resource</AndroidResgenClass> | ||
| <AndroidApplication>True</AndroidApplication> | ||
| <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile> | ||
| <AssemblyName>Xamarin.Social.Sample.Android</AssemblyName> | ||
| <TargetFrameworkVersion>v4.0.3</TargetFrameworkVersion> | ||
| <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
| <DebugSymbols>True</DebugSymbols> | ||
| <DebugType>full</DebugType> | ||
| <Optimize>False</Optimize> | ||
| <OutputPath>bin\Debug</OutputPath> | ||
| <DefineConstants>DEBUG;</DefineConstants> | ||
| <ErrorReport>prompt</ErrorReport> | ||
| <WarningLevel>4</WarningLevel> | ||
| <ConsolePause>False</ConsolePause> | ||
| <AndroidLinkMode>None</AndroidLinkMode> | ||
| <AndroidSupportedAbis>armeabi;armeabi-v7a;x86</AndroidSupportedAbis> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
| <DebugType>none</DebugType> | ||
| <Optimize>True</Optimize> | ||
| <OutputPath>bin\Release</OutputPath> | ||
| <ErrorReport>prompt</ErrorReport> | ||
| <WarningLevel>4</WarningLevel> | ||
| <ConsolePause>False</ConsolePause> | ||
| <AndroidUseSharedRuntime>False</AndroidUseSharedRuntime> | ||
| <AndroidSupportedAbis>armeabi;armeabi-v7a;x86</AndroidSupportedAbis> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <Reference Include="System" /> | ||
| <Reference Include="System.Xml" /> | ||
| <Reference Include="System.Core" /> | ||
| <Reference Include="Mono.Android" /> | ||
| <Reference Include="Xamarin.Mobile"> | ||
| <HintPath>Components\xamarin.mobile-0.7.5\lib\android\Xamarin.Mobile.dll</HintPath> | ||
| </Reference> | ||
| <Reference Include="Xamarin.Auth.Android"> | ||
| <HintPath>..\..\src\Xamarin.Social.Android\bin\Release\Xamarin.Auth.Android.dll</HintPath> | ||
| </Reference> | ||
| <Reference Include="Xamarin.Social.Android"> | ||
| <HintPath>..\..\src\Xamarin.Social.Android\bin\Release\Xamarin.Social.Android.dll</HintPath> | ||
| </Reference> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <Compile Include="Resources\Resource.designer.cs" /> | ||
| <Compile Include="MainActivity.cs" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <AndroidResource Include="Resources\layout\Main.axml" /> | ||
| <AndroidResource Include="Resources\values\Strings.xml" /> | ||
| <AndroidResource Include="Resources\drawable\Icon.png" /> | ||
| </ItemGroup> | ||
| <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" /> | ||
| <ItemGroup> | ||
| <Folder Include="Assets\" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <Content Include="Properties\AndroidManifest.xml" /> | ||
| </ItemGroup> | ||
| </Project> | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <PropertyGroup> | ||
| <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
| <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
| <ProductVersion>8.0.30703</ProductVersion> | ||
| <SchemaVersion>2.0</SchemaVersion> | ||
| <ProjectGuid>{02315614-C71C-4877-917C-6DB21FD9CC95}</ProjectGuid> | ||
| <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
| <OutputType>Library</OutputType> | ||
| <RootNamespace>Xamarin.Social.Sample.Android</RootNamespace> | ||
| <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix> | ||
| <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix> | ||
| <AndroidResgenClass>Resource</AndroidResgenClass> | ||
| <AndroidApplication>True</AndroidApplication> | ||
| <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile> | ||
| <AssemblyName>Xamarin.Social.Sample.Android</AssemblyName> | ||
| <TargetFrameworkVersion>v4.0.3</TargetFrameworkVersion> | ||
| <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
| <DebugSymbols>True</DebugSymbols> | ||
| <DebugType>full</DebugType> | ||
| <Optimize>False</Optimize> | ||
| <OutputPath>bin\Debug</OutputPath> | ||
| <DefineConstants>DEBUG;</DefineConstants> | ||
| <ErrorReport>prompt</ErrorReport> | ||
| <WarningLevel>4</WarningLevel> | ||
| <ConsolePause>False</ConsolePause> | ||
| <AndroidLinkMode>None</AndroidLinkMode> | ||
| <AndroidSupportedAbis>armeabi;armeabi-v7a;x86</AndroidSupportedAbis> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
| <DebugType>none</DebugType> | ||
| <Optimize>True</Optimize> | ||
| <OutputPath>bin\Release</OutputPath> | ||
| <ErrorReport>prompt</ErrorReport> | ||
| <WarningLevel>4</WarningLevel> | ||
| <ConsolePause>False</ConsolePause> | ||
| <AndroidUseSharedRuntime>False</AndroidUseSharedRuntime> | ||
| <AndroidSupportedAbis>armeabi;armeabi-v7a;x86</AndroidSupportedAbis> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <Reference Include="System" /> | ||
| <Reference Include="System.Xml" /> | ||
| <Reference Include="System.Core" /> | ||
| <Reference Include="Mono.Android" /> | ||
| <Reference Include="Xamarin.Mobile"> | ||
| <HintPath>Components\xamarin.mobile-0.7.5\lib\android\Xamarin.Mobile.dll</HintPath> | ||
| </Reference> | ||
| <Reference Include="Xamarin.Auth.Android"> | ||
| <HintPath>..\..\src\Xamarin.Social.Android\bin\Release\Xamarin.Auth.Android.dll</HintPath> | ||
| </Reference> | ||
| <Reference Include="Xamarin.Social.Android"> | ||
| <HintPath>..\..\src\Xamarin.Social.Android\bin\Release\Xamarin.Social.Android.dll</HintPath> | ||
| </Reference> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <Compile Include="Resources\Resource.designer.cs" /> | ||
| <Compile Include="MainActivity.cs" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <AndroidResource Include="Resources\layout\Main.axml" /> | ||
| <AndroidResource Include="Resources\values\Strings.xml" /> | ||
| <AndroidResource Include="Resources\drawable\Icon.png" /> | ||
| </ItemGroup> | ||
| <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" /> | ||
| <ItemGroup> | ||
| <Folder Include="Assets\" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <Content Include="Properties\AndroidManifest.xml" /> | ||
| </ItemGroup> | ||
| </Project> |
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to keep this as a submodule, or should it just be moved to a NuGet dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation: