Esri / maps-app-dotnet

Your organization's suite of cross platform mapping apps built with the ArcGIS Runtime SDK for .NET
Apache License 2.0
20 stars 18 forks source link

Create basic map app #2

Closed codergrl closed 7 years ago

codergrl commented 7 years ago
codergrl commented 7 years ago

@mikewilburn this is ready to test. Please test the following:

The iOS app isn't available yet, it's working but I haven't been able to create the IPA. I think testing 3/4 is enough for this very basic stage of the app. You can find the WPF, UWP and Android executables here https://esri.app.box.com/folder/29830817069.

anttikajanus commented 7 years ago

@marastoica I tried the link but it says that the page doesn't exists for me. Not sure if I just don't have permission to access it.

mikewilburn commented 7 years ago

@marastoica I was able to download and run the WPF version - looks great as far as a basic map window goes. However, when I run the PowerShell script to install the UWP package, it prompts me to first acquire a developer license and install the signing certificate. Do you know about this?

mikewilburn commented 7 years ago

@marastoica is the Android version designed for tablet or phone. Does it matter?

codergrl commented 7 years ago

@anttikajanus I added you to the group, try it again please

@mikewilburn

codergrl commented 7 years ago

@mikewilburn you should be able to install both Android and UWP apps now. However, the UWP app might not have a map in it, I can't get it to show on my test machine. Looks like the ArcGISRuntime.dll doesn't make it into the bundle.

mikewilburn commented 7 years ago

@marastoica cool, I will try the UWP one again today. FWIW, I couldn't get the Android version to install. Just kept getting a generic "failed to install" message. And I had to drop it before I left on vaca on Friday. I'll try it again this afternoon as well.

codergrl commented 7 years ago

@mikewilburn I recreated both packages, new versions are in the box folder. The issue with both was that they weren't signed properly.

mikewilburn commented 7 years ago

UPDATE: I can install and interact with the app on my Samsung S8 running Android 7.0.0. I cannot even install the app (shows "Can't open file" message) on a Google Nexus 5 running Android 6.0.1.

doneill commented 7 years ago

I worked with @mikewilburn with respect to install issues, recommending adb to install over side-loading approach. I was able to install the app on Nexus 5 API 6.0.1.

@marastoica Can you refactor the App Name away from MapsApp.Android? Prefer simply Maps App.

codergrl commented 7 years ago

@doneill thanks for your help with this

mikewilburn commented 7 years ago

Maps app installed successfully on Google Nexus 9 tablet running 7.1.1. Still unable to install on Google Nexus 5 phone running 6.0.1, although Dan can. Also still cannot get UWP app to successfully install, because it results in the error: Add-AppxPackage : Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted.

mikewilburn commented 7 years ago

Status update:

Installs App loads Map displays Zooms & pans
UWP
WPF
iOS
Android

Back to you @marastoica to figure out the UWP and iOS installation issues.

mikewilburn commented 7 years ago

Installation of the UWP app and verification of this issue is currently being held up by this error:

Add-AppxPackage : Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root
certificate which is not trusted by the trust provider.
zwaap commented 7 years ago

@mikewilburn to install the cert for UWP, initiate the certificate import wizard, then follow the directions here. To start the wizard, you should be able to double-click on the certificate (.cer file) if you have it, or if not, you can get to it from the appxbundle as follows:

  1. Right-click the .appxbundle file
  2. Select Properties
  3. Select the Digital Signatures tab
  4. Select the signature listed in the Signature list area
  5. Click Details
  6. Click View Certificate
  7. Click Install Certificate...

Once the cert is installed, just double-click the .appxbundle file to install the app. If a Windows protected your PC warning pops up, just click More info, then click the Run Anyway button that appears.

mikewilburn commented 7 years ago

Thanks @zwaap - that worked! UWP is good to go. Now just awaiting iOS.

mikewilburn commented 7 years ago

Mara installed the app on an iOS device. App loads, the map displays, and the zoom & pan functionality work just fine as well.