Skip to content

Commit

Permalink
Updates for U10 (#69)
Browse files Browse the repository at this point in the history
* Update iOS minimum to 13, improve iOS 14 compatibility (#68)

* Removes support for iOS 12

* Update target platform version for UWP

* Improves iOS 14 support

* Upgrade to ArcGIS Runtime 100.10

* doc fix

* Minimum version changes, warning fixes

* Update RELEASE.md

Co-authored-by: Eli Gregory <[email protected]>

* Link updates

* Update README.md

Co-authored-by: Eli Gregory <[email protected]>

* Update README.md

Co-authored-by: Eli Gregory <[email protected]>

Co-authored-by: Eli Gregory <[email protected]>
  • Loading branch information
nCastle1 and esreli authored Feb 21, 2021
1 parent ddec55a commit 21613ed
Show file tree
Hide file tree
Showing 22 changed files with 342 additions and 318 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ If there are changes made in the Original repository, you can sync the fork to k
Maps app uses authenticated ArcGIS Online services for routing and geocoding. You need to configure the app for OAuth authentication.

1. Log in to [developers.arcgis.com](https://developers.arcgis.com).
2. Create a [new application](https://developers.arcgis.com/applications/new).
2. Create a [new application](https://developers.arcgis.com/applications/).
3. After creating the application, navigate to the 'Authentication' tab and add a redirect URI. Any URI should work, but try to choose something unique to your app, like `my-maps-app://auth`. The default value in the app's code is `https://developers.arcgis.com`, so you can use that as an interim value while evaluating the app.
4. While on the 'Authentication' tab, note the **Client ID** and the **Redirect URI** you specified.
5. In [Helpers\Configuration.cs](src/MapsApp.Shared/Helpers/Configuration.cs) within the **MapsApp.Shared** project, replace the default **client ID** and **Redirect URI** with the values noted earlier.
Expand All @@ -84,7 +84,7 @@ Maps app uses authenticated ArcGIS Online services for routing and geocoding. Yo
- [Visual Studio 2017 or higher](https://www.visualstudio.com/downloads/)
- Visual Studio 2019 is required if you want to use the .NET Core version of the WPF app.
- [.NET Framework 4.6.1 or higher](https://www.microsoft.com/net/download)
- [ArcGIS Runtime SDK for .NET 100.8 or higher](https://developers.arcgis.com/net/)
- [ArcGIS Runtime SDK for .NET 100.10 or higher](https://developers.arcgis.com/net/)

## Resources

Expand Down Expand Up @@ -122,4 +122,4 @@ Unless required by applicable law or agreed to in writing, software distributed

A copy of the license is available in the repository's [LICENSE](https://github.com/Esri/maps-app-dotnet/blob/master/LICENSE) file.

For information about licensing your deployed app, see [License your app](https://developers.arcgis.com/net/latest/wpf/guide/license-your-app.htm).
For information about licensing your deployed app, see [License your app](https://developers.arcgis.com/ios/license-and-deployment/license/).
8 changes: 8 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Release notes

## 1.0.9

- Deprecate support for iOS 12.
- Updates Xamarin.Forms to add support for iOS 14.
- Updates the minimum Android version to SDK 23 (Android 6).
- Updates to ArcGIS Runtime 100.10.
- Updates to fix several warnings, for deprecations and other issues.

## 1.0.8

- Improves app configuration and setup instructions for clarity.
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ Inside the view (XAML), a `MapView` control is created and its `Map` property is

## Place search & geocoding

At the top of the screen, there is a menu button and a search bar. The search bar provides the geocoding functionality. [Geocoding](https://developers.arcgis.com/net/latest/wpf/guide/search-for-places-geocoding-.htm) lets you transform an address or a place name to a specific geographic location. Reverse geocoding lets you use a geographic location to find a description of the location, like a postal address or place name.
At the top of the screen, there is a menu button and a search bar. The search bar provides the geocoding functionality. [Geocoding](https://developers.arcgis.com/net/geocode-and-search/) lets you transform an address or a place name to a specific geographic location. Reverse geocoding lets you use a geographic location to find a description of the location, like a postal address or place name.

In the solution, the logic for geocoding is contained inside the shared `GeocodeViewModel`. First, a `LocatorTask` is defined to use the [ArcGIS World Geocoding Service](https://developers.arcgis.com/features/geocoding/). Before using the `LocatorTask`, it must be loaded. The loadable pattern is described [here](https://developers.arcgis.com/net/latest/wpf/guide/loadable-pattern.htm).
In the solution, the logic for geocoding is contained inside the shared `GeocodeViewModel`. First, a `LocatorTask` is defined to use the [ArcGIS World Geocoding Service](https://developers.arcgis.com/features/geocoding/). Before using the `LocatorTask`, it must be loaded. The loadable pattern is described [here](https://developers.arcgis.com/net/programming-patterns/loadable/).

```csharp
/// <summary>
Expand Down Expand Up @@ -348,7 +348,7 @@ The process of accessing token secured services with a challenge handler is illu
5. If the user is successfully authenticated, a credential (token) is included in requests to the secured service.
6. The authentication manager stores the credential for this portal and all requests for secured content include the token in the request.

For an application to use this pattern, follow these [guides](https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/signing-in-arcgis-online-users/) to register your app.. The `AuthenticationManager` provided by the ArcGIS Runtime SDK abstracts much of the authentication logic for you. In the Maps App, the `AuthenticationManager` is configured to prompt the user for credentials. [Go here](https://developers.arcgis.com/net/latest/wpf/guide/use-the-authentication-manager.htm) for details and other ways to configure the `AuthenticationManager`.
For an application to use this pattern, follow these [guides](https://developers.arcgis.com/net/security-and-authentication/) to register your app. The `AuthenticationManager` provided by the ArcGIS Runtime SDK abstracts much of the authentication logic for you. In the Maps App, the `AuthenticationManager` is configured to prompt the user for credentials.

| Android | WPF |
|:-------:|:---:|
Expand Down
8 changes: 4 additions & 4 deletions src/MapsApp.Android/MapsApp.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<ReleaseVersion>1.0.8</ReleaseVersion>
<ReleaseVersion>1.0.9</ReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -179,10 +179,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Esri.ArcGISRuntime.Xamarin.Android">
<Version>100.9.0</Version>
<Version>100.10.0</Version>
</PackageReference>
<PackageReference Include="Esri.ArcGISRuntime.Xamarin.Forms">
<Version>100.9.0</Version>
<Version>100.10.0</Version>
</PackageReference>
<PackageReference Include="modernhttpclient">
<Version>2.4.2</Version>
Expand All @@ -203,7 +203,7 @@
<Version>1.7.0</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1364</Version>
<Version>4.8.0.1687</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/MapsApp.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto">
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="29" />
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="29" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
4 changes: 2 additions & 2 deletions src/MapsApp.Android/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.8.0")]
[assembly: AssemblyFileVersion("1.0.8.0")]
[assembly: AssemblyVersion("1.0.9.0")]
[assembly: AssemblyFileVersion("1.0.9.0")]

// Add some common permissions, these can be removed if not needed
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
Expand Down
Loading

0 comments on commit 21613ed

Please sign in to comment.