Essential cross platform APIs for your mobile apps.
Перейти к файлу
Jonathan Dick ad22d9dea6
WebAuthenticator API (#1062)
* Initial work for WebAuthenticator API

* Fix page loaded in sample

* Fix weird generated item

* Fix error message

* Fix filename, too many .'s

* Remove unnecessary comment

* Tweak AppleSignIn API

* Cancel any previous waiting tasks

* Use WebAuthenticationBroker on UWP

* Make code more readable

* iOS10+ is only supported so remove check

* Move last fallback into TVOS

* Remove unnecessary duplicate attribute

* Change exception type.

* Better error message

* Make AppleSignIn accessible from shared code

* Added sample aspnet project for auth

* Apple Signin for iOS only for now

* Make auth sample use sample server

* Added some tests

* Make some methods private that shouldn't be public

* Add docs

* Increase device test timeout

* Add human interaction traits to some new tests

* Update devicetests cake

Updated to newer addins
Stop using cake bootstrappers

* Run device tests with cake dotnet core

* Bump xunit device runner

* Tests go back to netcore 2

* Bump xunit device runner in rest of devicetest projs

* Build that android app first!

* Cleanup web auth

- Change result type name
- Clean up result type properties
- Remove IsSupported from apple public api
- Throw not supported in public apple api on < iOS 13

* Update sample to check for iOS 13 independently

* Update docs

* Make code a bit more readable.

* More readable code changes

* Fix test

* Add some detection of callback activity

This adds some code to ensure the developer has subclassed `WebAuthenticatorCallbackActivity` and registered an appropriate intentfilter for it based on the `callbackUrl` being used.

Co-authored-by: James Montemagno <james.montemagno@gmail.com>
2020-01-30 18:54:06 -08:00
.github Fixed issue with the bug template and invalid label (#828) 2019-06-28 13:35:04 -04:00
Assets New Icons! (#218) 2018-04-27 08:03:43 -07:00
DeviceTests WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
Samples WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
Tests GH-1036 Make GetComplementary an extension (#1039) 2019-12-21 16:53:34 -05:00
Xamarin.Essentials WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
docs WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
.editorconfig No nested classes and no default access modifiers 2018-04-11 19:45:59 +02:00
.gitattributes [WIP] Xamarin.Essentials 1.1.0 (#663) 2019-03-15 16:36:34 -04:00
.gitignore WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
.openpublishing.build.ps1 Initialize open publishing repository: https://github.com/xamarin/Essentials of branch master 2018-04-10 19:29:18 +00:00
.openpublishing.publish.config.json Disable the pesky comments? 2019-12-19 15:25:32 -05:00
CODE_OF_CONDUCT.md Initial attempt at contribution, submission docs, and templates 2018-02-23 22:35:58 +00:00
CONTRIBUTING.md Fix broken docs link (#971) 2019-11-08 12:05:45 -08:00
Directory.Build.props Getting the solution to load without freezing + updates (#977) 2019-11-15 03:35:29 +02:00
LICENSE Rebranding to Xamarin.Essentials (#152) 2018-04-05 20:46:34 -04:00
LICENSE-CODE Initialize open publishing repository: https://github.com/xamarin/Essentials of branch master 2018-04-10 19:29:18 +00:00
PRODUCT-FEEDBACK.md Update PRODUCT-FEEDBACK.md 2019-08-19 12:08:25 -07:00
README.md GH-999 Fill in all missing docs (#1041) 2019-12-23 11:13:54 -05:00
SUBMITTING-ISSUES.md Update links in markdown files 2018-04-10 11:05:46 +02:00
ThirdPartyNotices Initialize open publishing repository: https://github.com/xamarin/Essentials of branch master 2018-04-10 19:29:18 +00:00
Xamarin.Essentials.ruleset Rebranding to Xamarin.Essentials (#152) 2018-04-05 20:46:34 -04:00
Xamarin.Essentials.sln WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
appcenter-post-clone.sh Integrate App Center SDK into Sample App (#557) 2018-11-01 21:07:47 -04:00
azure-pipelines.yml WebAuthenticator API (#1062) 2020-01-30 18:54:06 -08:00
build.ps1 build.ps1: fix build with GithubActionsCI (#950) 2019-10-28 20:46:05 -04:00
generate-docs.cmd Getting the solution to load without freezing + updates (#977) 2019-11-15 03:35:29 +02:00
nuget.config VS for Mac Multi-target support (#953) 2019-10-28 11:16:12 +01:00
nugetreadme.txt Update NuGet readme.txt URLs to use HTTPS (#867) 2019-07-26 23:39:05 -07:00
stylecop.json We want to use spaces and not tabs 2018-02-28 23:07:46 +02:00

README.md

Xamarin.Essentials

Xamarin.Essentials gives developers essential cross-platform APIs for their mobile applications.

iOS, Android, and UWP offer unique operating system and platform APIs that developers have access to, all in C# leveraging Xamarin. It is great that developers have 100% API access in C# with Xamarin, but these APIs are different per platform. This means developers have to learn three different APIs to access platform-specific features. With Xamarin.Essentials, developers have a single cross-platform API that works with any iOS, Android, or UWP application that can be accessed from shared code no matter how the user interface is created.

Gitter chat

Build Status

Build Server Type Platform Status
VSTS Build Windows Build Status
App Center Sample App Android Build status
App Center Sample App iOS Build status

Sample App

Try out Xamarin.Essentials on your device!

Installation

Xamarin.Essentials is available via NuGet & is included in every template:

  • NuGet Official Releases: NuGet

Please read our Getting Started with Xamarin.Essentials guide for full setup instructions.

Documentation

Browse our full documentation for Xamarin.Essentials, including feature guides, on how to use each feature.

Supported Platforms

Platform support & feature support can be found on our documentation

Contributing

Please read through our Contribution Guide. We are not accepting new PRs for full features, however any issue that is marked as up for grabs are open for community contributions. We encourage creating new issues for bugs found during usage that the team will triage. Additionally, we are open for code refactoring suggestions in PRs.

Building Xamarin.Essentials

Xamarin.Essentials is built with the new SDK-style projects with multi-targeting enabled. This means that all code for iOS, Android, and UWP exist inside of the Xamarin.Essentials project.

Visual Studio

A minimum version of Visual Studio 2019 16.3 or Visual Studio for Mac 2019 8.3 are required to build and compile Xamarin.Essentials.

Workloads need:

  • Xamarin
  • .NET Core
  • UWP

You will need the following SDKs

  • Android 10.0, 9.0, 8.1, 8.0, 7.1, 7.0, & 6.0 SDK Installed
  • UWP 10.0.16299 SDK Installed

FAQ

Here are some frequently asked questions about Xamarin.Essentials, but be sure to read our full FAQ on our Wiki.

License

Please see the License.