-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
72 additions
and
79 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
src/NewsReader/NewsReader.Applications/Controllers/DataController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 16 additions & 1 deletion
17
src/NewsReader/NewsReader.MauiSystem/Platforms/Android/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true" android:usesCleartextTraffic="true"> | ||
<activity android:name="microsoft.identity.client.BrowserTabActivity" android:exported="true"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
<data android:scheme="wafe5b8cee6-8ba0-46c5-96ef-a3c8a1e2bb26" android:host="auth" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
|
||
<queries> | ||
<intent> | ||
<action android:name="android.support.customtabs.action.CustomTabsService" /> | ||
</intent> | ||
</queries> | ||
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
</manifest> |
3 changes: 0 additions & 3 deletions
3
src/NewsReader/NewsReader.MauiSystem/Platforms/Android/AndroidModule.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
using Autofac; | ||
using Waf.NewsReader.MauiSystem.Platforms.Android.Services; | ||
using Waf.NewsReader.Presentation.Services; | ||
|
||
namespace Waf.NewsReader.MauiSystem.Platforms.Android; | ||
|
||
internal sealed class AndroidModule : Module | ||
{ | ||
protected override void Load(ContainerBuilder builder) | ||
{ | ||
builder.RegisterType<IdentityService>().As<IIdentityService>().SingleInstance(); | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
src/NewsReader/NewsReader.MauiSystem/Platforms/Android/Services/IdentityService.cs
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
src/NewsReader/NewsReader.MauiSystem/Platforms/iOS/IosModule.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
using Autofac; | ||
using Waf.NewsReader.Applications.Services; | ||
using Waf.NewsReader.MauiSystem.Platforms.iOS.Services; | ||
using Waf.NewsReader.Presentation.Services; | ||
|
||
namespace Waf.NewsReader.MauiSystem.Platforms.iOS; | ||
|
||
internal sealed class IosModule : Module | ||
{ | ||
protected override void Load(ContainerBuilder builder) | ||
{ | ||
builder.RegisterType<IdentityService>().As<IIdentityService>().SingleInstance(); | ||
builder.RegisterType<LocalizationService>().As<ILocalizationService>().SingleInstance(); | ||
} | ||
} |
13 changes: 0 additions & 13 deletions
13
src/NewsReader/NewsReader.MauiSystem/Platforms/iOS/Services/IdentityService.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
src/NewsReader/NewsReader.Presentation/Services/IIdentityService.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters