Commit Graph

564 Commits (49064f2d635e56a50cd6adde438d6265d72a28c1)

Author SHA1 Message Date
Eric Erhardt feb1b3e67b Use System.Text.Json instead of Newtonsoft.
This reduces the size of the app because Newtonsoft and all the code it roots (XML, System.Data.Common) can now be trimmed.
2022-03-31 18:37:45 -05:00
James Montemagno 644e49c6ed Merge pull request #57 from eerhardt/MoveInitialHttpToBackground-main
Run GetShowsAsync in the background
2022-03-31 08:23:44 -05:00
James Montemagno 020305915e
Merge pull request #57 from eerhardt/MoveInitialHttpToBackground-main
Run GetShowsAsync in the background
2022-03-30 21:36:21 -07:00
Eric Erhardt 3efa4b3579 Move the background task logic into ShowsService, and only do it on first load. 2022-03-30 19:04:04 -05:00
Eric Erhardt 4ae65e91df Run GetShowsAsync in the background
This allows for faster startup because initializing and checking the cache doesn't block the UI thread.
2022-03-30 15:45:24 -05:00
James Montemagno 9ac4b5643b Fix xaml typos on apps 2022-03-29 11:29:40 -07:00
James Montemagno 3a4ccedea3 fix some crashers 2022-03-28 09:26:14 -07:00
James Montemagno 373d813710 Merge branch 'main' of https://github.com/microsoft/dotnet-podcasts into main 2022-03-25 16:13:18 -07:00
James Montemagno 5348e3e33b cleanup background colors 2022-03-25 16:12:37 -07:00
James Montemagno 00be1bb25b
Merge pull request #55 from eerhardt/Port51
[main] Fix iOS Publish by using a regular net6 components library
2022-03-25 09:49:06 -07:00
Eric Erhardt c220b9ef97 Fix MauiProgram AddMauiBlazorWebView for Preview14 2022-03-24 14:01:39 -05:00
James Montemagno 71c9b6d7ff fix sln files 2022-03-24 13:53:49 -05:00
Eric Erhardt 9e33e66f57 Same change for NetPodsMauiBlazor 2022-03-24 13:53:34 -05:00
Eric Erhardt 12d8e73d2c Fix iOS Publish by using a regular net6 components library 2022-03-24 13:53:21 -05:00
James Montemagno 459e4f0d1a
Merge pull request #51 from eerhardt/FixiOSPublish
Fix iOS Publish by using a regular net6 components library
2022-03-24 11:32:05 -07:00
James Montemagno 74a27e7f7a fix sln files 2022-03-24 13:01:21 -05:00
James Montemagno d5a05e8c80
Merge pull request #54 from microsoft/page-registration
Update registration of pages
2022-03-24 10:47:24 -07:00
Eric Erhardt e5d696f776 Same change for NetPodsMauiBlazor 2022-03-24 12:41:17 -05:00
James Montemagno 1d8fbbb62c Update registration of pages 2022-03-24 10:31:17 -07:00
Jonathan Peppers 6a1cbb018c Add quotes to mobile test trigger (#52)
* Update podcast-mobile.yml so that `maui/perf` has single quotes
2022-03-24 11:50:38 -05:00
Jonathan Peppers fc64694970
Add quotes to mobile test trigger (#52)
* Update podcast-mobile.yml so that `maui/perf` has single quotes
2022-03-24 11:48:20 -05:00
Eric Erhardt 1fed345cf6 Fix iOS Publish by using a regular net6 components library 2022-03-24 11:32:39 -05:00
Jonathan Peppers 985f9070a5
[mobile] install dotnet/maui/main on maui/perf (#48)
We have the maui/perf branch tracking dotnet/maui/main, so we need to actually install different versions of the workloads.

dotnet-podcasts/main is tracking the latest release, .NET MAUI Preview 14 at this time.

API changes that are in dotnet/maui/main:

* Remove `RegisterBlazorWebView()` call that no longer exists.
* Fix for:

    Resources\Styles\DefaultTheme.xaml(57,10): XamlC error : Position 57:10. Missing Value for Setter

Co-authored-by: Parker Bibus <parkerbibus@microsoft.com>
2022-03-22 15:52:31 -05:00
Parker Bibus b8b76978d8
[mobile] add builder.Services.AddTransient() for pages (#47)
Changes to Dependency Injection require you to register all pages now in .NET MAUI Preview 14.

Co-authored-by: Jonathan Peppers <jonathan.peppers@gmail.com>
2022-03-22 14:44:13 -05:00
Jonathan Peppers 1247f6a4e1
Setup Github actions for the Mobile project (#46)
Right now, we don't really have CI for the mobile app, so this at least verifies the project builds.

Other fixes for MAUI Preview 14:

* Use OperatingSystem.IsAndroidVersionAtLeast()
* Removed macos from xaml files.

Co-authored-by: Nathan Ricci <naricc@microsoft.com>
2022-03-22 14:27:55 -05:00
Parker Bibus 1a9e7160d5
Rename OSAppTheme to AppTheme. (#45)
OSAppTheme has been renamed to AppTheme in MAUI Preview 14, this ensures that the app builds.
2022-03-22 12:04:04 -05:00
James Montemagno 4381e5ab13
Merge pull request #44 from eerhardt/RemoveAddHttpClient
Remove Microsoft.Extensions.Http from dotnet-podcasts
2022-03-21 16:29:05 -07:00
Eric Erhardt ebc154874d Change static HttpClient to instance.
This allows for the BaseAddress to be changed by Configuration in the future.
2022-03-21 14:00:50 -05:00
Eric Erhardt e0849b2f94 Remove AddHttpClient 2022-03-18 16:29:12 -05:00
Jonathan Peppers 392453be5f Revert "Merge remote-tracking branch 'naricc/main'"
This reverts commit a4058c1bd2, reversing
changes made to 3854c8a55b.
2022-03-17 14:58:25 -05:00
Parker Bibus a4058c1bd2 Merge remote-tracking branch 'naricc/main' 2022-03-16 15:35:10 -07:00
James Montemagno 3854c8a55b
Update Package.appxmanifest 2022-03-11 12:18:20 -08:00
James Montemagno aae52717b1
Update App.xaml 2022-03-11 12:16:47 -08:00
James Montemagno e6997bca33
Delete global.json 2022-03-11 12:06:18 -08:00
James Montemagno fa29e67539
Update NetPodsMauiBlazor.csproj 2022-03-11 09:57:46 -08:00
James Montemagno cbde8681c7
Merge pull request #42 from brunck/shell-di-changes
Support Shell DI changes in .NET MAUI P14
2022-03-08 14:42:58 -08:00
James Montemagno 110dc16e4d
Update src/Mobile/Pages/PagesExtensions.cs 2022-03-08 14:42:47 -08:00
Nathan Ricci 80c37a8f1e builder.Services.AddTransient 2022-03-08 16:16:30 -05:00
Nathan Ricci dfd63f29f8 Removed RegisterBlazorMauiWebView and and added builder.Services.AddMauiBlazorWebView(); 2022-03-08 12:47:43 -05:00
Brian Runck aee315d77a Invoke extension method 2022-03-07 17:39:26 -05:00
Brian Runck 4939e05e81 Support Shell DI changes in .NET MAUI P14 2022-03-07 17:24:06 -05:00
Nathan Ricci a73e06b1a0 Removed macos from xaml files. 2022-03-04 16:02:51 -05:00
James Montemagno 2922a6e04e Make adjustments to retry creating the database 2022-03-02 09:14:34 -08:00
Nathan Ricci 26faf2f6aa More OSAppTheme -> AppTheme 2022-03-01 13:10:30 -05:00
Nathan Ricci 447fdff390 MOre OsAppTheme -> AppTheme 2022-03-01 12:18:13 -05:00
Nathan Ricci cc8117bf19 OSAppTheme -> AppTheme 2022-03-01 11:43:20 -05:00
Nathan Ricci 2aec4982fb Removed NativeVersion 2022-02-28 12:39:16 -05:00
James Montemagno d34251e57a player updates 2022-02-25 14:00:21 -08:00
James Montemagno cabf95d71c Update more dependency injection 2022-02-25 12:29:29 -08:00
James Montemagno a006599675 Use injetion wher epossible for services 2022-02-25 12:21:10 -08:00