Commit Graph

151 Commits (87c33962f67852d899f621fc9c21d889ee16c45f)

Author SHA1 Message Date
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
James Montemagno a57b87eeb2
Merge pull request #41 from jonathanpeppers/android-fixes
[android] INTERNET permission + minor media player fixes
2022-02-18 12:07:06 -08:00
Jonathan Peppers d9ee2ed000 [android] INTERNET permission + minor media player fixes
So if this sample is meant to make web requests, it doesn't have the Android permission to do so!

This probably works fine in Debug mode, because we add the permission for you. Debugging requires it.

I also cleaned up a bit of the code setting up the media player. It seems like we were just calling into Java over and over, and I could simplify it.
2022-02-17 15:50:56 -06:00
James Montemagno 3c16e7d0e3
Merge pull request #40 from microsoft/maui-p13
Build for p13
2022-02-15 13:58:25 -08:00
redth b3f57e3347 Win specific image dir no longer needed 2022-02-15 13:08:49 -05:00
redth 555afb8cf8 Cleanup 2022-02-15 13:08:37 -05:00
redth e7965c5e6b More cleanup for p13 2022-02-15 12:38:22 -05:00
redth e68f3cd9d0 Build for p13 2022-02-15 12:30:22 -05:00
James Montemagno 962b15c578 Merge branch 'main' of https://github.com/microsoft/dotnet-podcasts 2022-02-07 14:44:26 -08:00
James Montemagno 28b3beef96 Fix android api 31 issues. Fixes #38 2022-02-07 14:44:23 -08:00
James Montemagno 960df3d590
Merge pull request #37 from RobGibbens/patch-1
Fix typo of "InitilizeMedia" in MainActivity
2022-02-07 14:28:02 -08:00
Rob Gibbens 661b39baad
Fix type of "InitilizeMedia" in MainActivity
"Initialize" was spelled incorrectly.
2022-02-05 16:50:51 -05:00
James Montemagno 09b733b406
Merge pull request #29 from microsoft/maui-p12
Update to .NET MAUI P12
2022-01-24 10:51:22 -08:00
James Montemagno 0cf745e6d2 Use transient 2022-01-24 10:51:09 -08:00