Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

upgrade/StarWarsForms-MvvmCross7 #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saamerm
Copy link
Contributor

@saamerm saamerm commented Aug 17, 2020

  • Migrated the StarWars forms apps to MvvmCross 7
  • Migrated to AndroidX by Right clicking on the Android project and selecting "Migrate to AndroidX"
  • Then updated all the nuget packages by right click on the Packages folder in the Solution explorer-> Update
  • Upon building, it told me I was missing another Nuget package Xamarin.AndroidX.Legacy.Support.V4 and Xamarin.AndroidX.Browser, so I added those two as well
  • The latest version of the Lottie package doesnt support a target framework less than Android 10, so I had to increase the target framework of the Android project
  • Migrated the Core and iOS projects by simply right clicking the Packages folder and tapping on Update

Testing

  • Tested on an Android 10 device and the Forms app built
  • Tested on iPhone 8 simulator and it worked

Notes

  • Tried to update the Traditional/Native Android project as well, but I got this error "Views/PersonView.cs(55,50,55,61): error CS7069: Reference to type 'MvxColor' claims it is defined in 'MvvmCross', but it could not be found"
  • Also had issues updating the TipCalc sample
  • Did not test UWP

* Migrated to AndroidX by Right clicking on the Android project and selecting "Migrate to AndroidX"
* Then updated all the nuget packages by right click on the Packages folder in the Solution explorer-> Update
* Upon building, it told me I was missing another Nuget package Xamarin.AndroidX.Legacy.Support.V4 and Xamarin.AndroidX.Browser, so I added those two as well
* The latest version of the Lottie package doesnt support a target framework less than Android 10, so I had to increase the target framework of the Android project

**Testing**
----------
* Tested on an Android 10 device and the Forms app built
* Tested on iPhone 8 simulator and it worked

**Notes**
----
* Tried to update the Traditional/Native Android project as well, but I got this error "Views/PersonView.cs(55,50,55,61): error CS7069: Reference to type 'MvxColor' claims it is defined in 'MvvmCross', but it could not be found"
* Also had issues updating the TipCalc sample
* Did not test UWP
@saamerm saamerm changed the title upgrade/iOSnDroid-MvvmCross7 upgrade/StarWarsForms-MvvmCross7 Aug 17, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant