Skip to content

Commit 1128eb5

Browse files
Merge pull request #1754 from microsoft/release/5.0.3
Start new 5.0.3 version
2 parents 49e5fac + 19652ef commit 1128eb5

File tree

103 files changed

+411
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+411
-167
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.microsoft.appcenter.xamarin.puppet" android:versionCode="112" android:versionName="5.0.2-SNAPSHOT" android:installLocation="auto">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.microsoft.appcenter.xamarin.puppet" android:versionCode="114" android:versionName="5.0.3-SNAPSHOT" android:installLocation="auto">
33
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
44
<application android:label="SXPuppet" android:icon="@drawable/Icon" android:theme="@style/PuppetTheme"></application>
55
</manifest>

Apps/Contoso.Android.Puppet/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
// by using the '*' as shown below:
2929
// [assembly: AssemblyVersion("1.0.*")]
3030
[assembly: AssemblyVersion("0.0.0.0")]
31-
[assembly: AssemblyFileVersion("5.0.2.0")]
32-
[assembly: AssemblyInformationalVersion("5.0.2-SNAPSHOT")]
31+
[assembly: AssemblyFileVersion("5.0.3.0")]
32+
[assembly: AssemblyInformationalVersion("5.0.3-SNAPSHOT")]

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Contoso.Forms.Demo.Droid.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@
7070
<Reference Include="Mono.Android" />
7171
</ItemGroup>
7272
<ItemGroup Condition=" '$(Configuration)'=='GooglePlay' ">
73-
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="5.0.2" />
73+
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="5.0.3" />
7474
</ItemGroup>
7575
<ItemGroup Condition=" '$(Configuration)'!='GooglePlay' ">
76-
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.2" />
76+
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.3" />
7777
</ItemGroup>
7878
<ItemGroup>
79-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
80-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
79+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
80+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
8181
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2578" />
8282
</ItemGroup>
8383
<ItemGroup>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.microsoft.appcenter.xamarin.forms.demo" android:versionName="5.0.2" android:versionCode="97">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.microsoft.appcenter.xamarin.forms.demo" android:versionName="5.0.3" android:versionCode="98">
33
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
44
<application android:label="ACFDemo"></application>
55
</manifest>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.Droid/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
2323

2424
[assembly: AssemblyVersion("1.0.0.0")]
25-
[assembly: AssemblyFileVersion("5.0.2.0")]
26-
[assembly: AssemblyInformationalVersion("5.0.2")]
25+
[assembly: AssemblyFileVersion("5.0.3.0")]
26+
[assembly: AssemblyInformationalVersion("5.0.3")]
2727

2828
// The following attributes are used to specify the signing key for the assembly,
2929
// if desired. See the Mono documentation for more information about signing.

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.MacOS/Contoso.Forms.Demo.MacOS.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
<Reference Include="Xamarin.Mac" />
5454
</ItemGroup>
5555
<ItemGroup>
56-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
57-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
58-
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.2" />
56+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
57+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
58+
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.3" />
5959
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2578" />
6060
</ItemGroup>
6161
<ItemGroup>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.MacOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<key>CFBundleIdentifier</key>
88
<string>com.microsoft.appcenter.Contoso-Forms-Demo-MacOS</string>
99
<key>CFBundleShortVersionString</key>
10-
<string>5.0.2</string>
10+
<string>5.0.3</string>
1111
<key>CFBundleVersion</key>
12-
<string>5.0.2</string>
12+
<string>5.0.3</string>
1313
<key>LSMinimumSystemVersion</key>
1414
<string>10.14</string>
1515
<key>CFBundleDevelopmentRegion</key>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.UWP/Contoso.Forms.Demo.UWP.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@
135135
</ProjectReference>
136136
</ItemGroup>
137137
<ItemGroup>
138-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
139-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
140-
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.2" />
138+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
139+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
140+
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.3" />
141141
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1821" />
142142
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.9" />
143143
</ItemGroup>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.UWP/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
3-
<Identity Name="10805zumoTestUser.AppCenter-Contoso.Forms.Demo.UWP" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.2.0" />
3+
<Identity Name="10805zumoTestUser.AppCenter-Contoso.Forms.Demo.UWP" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.3.0" />
44
<mp:PhoneIdentity PhoneProductId="fbe02dcf-2c7d-4740-9c2b-0df5e15916e5" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
55
<Properties>
66
<DisplayName>AppCenter-Contoso.Forms.Demo.UWP</DisplayName>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.UWP/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
// by using the '*' as shown below:
2828
// [assembly: AssemblyVersion("1.0.*")]
2929
[assembly: AssemblyVersion("0.0.0.0")]
30-
[assembly: AssemblyFileVersion("5.0.2.0")]
30+
[assembly: AssemblyFileVersion("5.0.3.0")]
3131
[assembly: ComVisible(false)]

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Contoso.Forms.Demo.iOS.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@
8787
<Reference Include="Xamarin.iOS" />
8888
</ItemGroup>
8989
<ItemGroup>
90-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
91-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
92-
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.2" />
90+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
91+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
92+
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.3" />
9393
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2578" />
9494
</ItemGroup>
9595
<ItemGroup>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo.iOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleIdentifier</key>
66
<string>com.microsoft.appcenter.xamarin.forms.ios.demo</string>
77
<key>CFBundleVersion</key>
8-
<string>5.0.2</string>
8+
<string>5.0.3</string>
99
<key>LSRequiresIPhoneOS</key>
1010
<true/>
1111
<key>MinimumOSVersion</key>
@@ -39,7 +39,7 @@
3939
<key>CFBundleName</key>
4040
<string>ACFDemo</string>
4141
<key>CFBundleShortVersionString</key>
42-
<string>5.0.2</string>
42+
<string>5.0.3</string>
4343
<key>CFBundleURLTypes</key>
4444
<array>
4545
<dict>

Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/Contoso.Forms.Demo.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<Copyright>Microsoft Corp. All rights reserved.</Copyright>
66
<Company>Microsoft Corporation</Company>
7-
<Version>5.0.2</Version>
7+
<Version>5.0.3</Version>
88
<AssemblyVersion>0.0.0.0</AssemblyVersion>
9-
<FileVersion>5.0.2.0</FileVersion>
9+
<FileVersion>5.0.3.0</FileVersion>
1010
<Configurations>Debug;Release;GooglePlay</Configurations>
1111
</PropertyGroup>
1212
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GooglePlay|AnyCPU' ">
@@ -20,14 +20,14 @@
2020
<NoStdLib>false</NoStdLib>
2121
</PropertyGroup>
2222
<ItemGroup Condition=" '$(Configuration)'!='GooglePlay' ">
23-
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.2" />
23+
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.3" />
2424
</ItemGroup>
2525
<ItemGroup Condition=" '$(Configuration)'=='GooglePlay' ">
26-
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="5.0.2" />
26+
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="5.0.3" />
2727
</ItemGroup>
2828
<ItemGroup>
29-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
30-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
29+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
30+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
3131
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2578" />
3232
</ItemGroup>
3333
<ItemGroup>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="113" android:versionName="5.0.2-SNAPSHOT" package="com.microsoft.appcenter.xamarin.forms.puppet">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="115" android:versionName="5.0.3-SNAPSHOT" package="com.microsoft.appcenter.xamarin.forms.puppet">
33
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
44
<application android:label="ACFPuppet"></application>
55
</manifest>

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet.Droid/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
2323

2424
[assembly: AssemblyVersion("0.0.0.0")]
25-
[assembly: AssemblyFileVersion("5.0.2.0")]
26-
[assembly: AssemblyInformationalVersion("5.0.2-SNAPSHOT")]
25+
[assembly: AssemblyFileVersion("5.0.3.0")]
26+
[assembly: AssemblyInformationalVersion("5.0.3-SNAPSHOT")]
2727

2828
// The following attributes are used to specify the signing key for the assembly,
2929
// if desired. See the Mono documentation for more information about signing.

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet.MacOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<key>CFBundleIdentifier</key>
88
<string>com.microsoft.appcenter.Contoso-Forms-Puppet-MacOS</string>
99
<key>CFBundleShortVersionString</key>
10-
<string>5.0.2</string>
10+
<string>5.0.3</string>
1111
<key>CFBundleVersion</key>
12-
<string>5.0.2</string>
12+
<string>5.0.3</string>
1313
<key>LSMinimumSystemVersion</key>
1414
<string>10.14</string>
1515
<key>CFBundleDevelopmentRegion</key>

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet.UWP/Contoso.Forms.Puppet.UWP.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
125125
</PropertyGroup>
126126
<ItemGroup>
127-
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.0" />
127+
<PackageReference Include="SQLitePCLRaw.bundle_green" version="2.1.5" />
128128
</ItemGroup>
129129
<ItemGroup>
130130
<Compile Include="App.xaml.cs">

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet.UWP/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
3-
<Identity Name="10805zumoTestUser.AppCenter-Contoso.Forms.Puppet.U" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.2.0" />
3+
<Identity Name="10805zumoTestUser.AppCenter-Contoso.Forms.Puppet.U" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.3.0" />
44
<mp:PhoneIdentity PhoneProductId="55497ed8-b2ac-4485-ba79-e2b65bb720ed" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
55
<Properties>
66
<DisplayName>AppCenter-Contoso.Forms.Puppet.UWP</DisplayName>

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet.UWP/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
// by using the '*' as shown below:
2828
// [assembly: AssemblyVersion("1.0.*")]
2929
[assembly: AssemblyVersion("0.0.0.0")]
30-
[assembly: AssemblyFileVersion("5.0.2.0")]
30+
[assembly: AssemblyFileVersion("5.0.3.0")]
3131
[assembly: ComVisible(false)]

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet.iOS/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<key>CFBundleIdentifier</key>
66
<string>com.microsoft.appcenter.xamarin.forms.ios.puppet</string>
77
<key>CFBundleShortVersionString</key>
8-
<string>5.0.2</string>
8+
<string>5.0.3</string>
99
<key>CFBundleVersion</key>
10-
<string>5.0.2</string>
10+
<string>5.0.3</string>
1111
<key>LSRequiresIPhoneOS</key>
1212
<true/>
1313
<key>MinimumOSVersion</key>

Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
2121

2222
[assembly: AssemblyVersion("0.0.0.0")]
23-
[assembly: AssemblyFileVersion("5.0.2.0")]
24-
[assembly: AssemblyInformationalVersion("5.0.2-SNAPSHOT")]
23+
[assembly: AssemblyFileVersion("5.0.3.0")]
24+
[assembly: AssemblyInformationalVersion("5.0.3-SNAPSHOT")]
2525

2626
// The following attributes are used to specify the signing key for the assembly,
2727
// if desired. See the Mono documentation for more information about signing.

Apps/Contoso.MAUI.Demo/App.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ private void StartAppCenter()
7777
{
7878
AppCenter.SetMaxStorageSizeAsync(Preferences.Get(Constants.StorageMaxSize, 0));
7979
}
80+
AppCenter.PlatformSetDataResidencyRegion(Preferences.Get(Constants.DataResidencyRegion, null));
8081

8182
var appSecret = GetTokensString();
8283
AppCenter.Start(appSecret, typeof(Analytics), typeof(Crashes), typeof(Distribute));

Apps/Contoso.MAUI.Demo/Constants.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ public static class Constants
1212
public const string StorageMaxSize = "storage-max-size";
1313
public const string EnableManualSessionTracker = "enable-manual-session-tracker";
1414
public const string CountryCode = "country-code";
15+
public const string DataResidencyRegion = "data-residency-region";
1516
public const string EnabledForDebuggableBuild = "enabled-for-debuggable-build";
1617
}

Apps/Contoso.MAUI.Demo/Contoso.MAUI.Demo.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<UsingMauiEssentials>true</UsingMauiEssentials>
1010
<SingleProject>true</SingleProject>
1111
<ImplicitUsings>enable</ImplicitUsings>
12-
<Version>5.0.2</Version>
12+
<Version>5.0.3</Version>
1313
<!-- Display name -->
1414
<ApplicationTitle>Contoso.MAUI.Demo</ApplicationTitle>
1515
<!-- App Identifier -->
@@ -56,13 +56,13 @@
5656
<None Remove="Platforms\iOS\Resources\Images\socket.png" />
5757
</ItemGroup>
5858
<ItemGroup>
59-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
60-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
59+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
60+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
6161
</ItemGroup>
6262
<ItemGroup Condition=" '$(Configuration)'!='GooglePlay' ">
63-
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.2" />
63+
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.3" />
6464
</ItemGroup>
6565
<ItemGroup Condition=" '$(Configuration)'=='GooglePlay' ">
66-
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="5.0.2" />
66+
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="5.0.3" />
6767
</ItemGroup>
6868
</Project>

Apps/Contoso.MAUI.Demo/ModulePages/AppCenterContentPage.xaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,12 @@
2828
<StackLayout Margin="0, 8, 0, 0">
2929
<Button Text="Save Storage Size" Padding="16, 8, 16, 8" Clicked="SaveStorageSize_Clicked" VerticalOptions="Center" />
3030
</StackLayout>
31+
<StackLayout Margin="0, 8, 0, 0" Orientation="Horizontal">
32+
<Label FontSize="Small" Text="Data Residency Region" HorizontalOptions="FillAndExpand" VerticalOptions="Center" />
33+
<Entry FontSize="Small" BackgroundColor="LightGrey" x:Name="DataResidencyRegion" Margin="4, 0, 4, 0" HorizontalOptions="FillAndExpand" VerticalOptions="Center" HorizontalTextAlignment="End" />
34+
</StackLayout>
35+
<StackLayout Margin="0, 8, 0, 0">
36+
<Button Text="Save Data Residency Region" Padding="16, 8, 16, 8" Clicked="SaveDataResidencyRegion_Clicked" VerticalOptions="Center" />
37+
</StackLayout>
3138
</StackLayout>
3239
</ContentPage>

Apps/Contoso.MAUI.Demo/ModulePages/AppCenterContentPage.xaml.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public AppCenterContentPage()
2020
StorageMaxSize.Text = Preferences.Get(Constants.StorageMaxSize, 0).ToString();
2121
}
2222

23+
DataResidencyRegion.Text = Preferences.Get(Constants.DataResidencyRegion, "").ToString();
24+
2325
// Setup start type dropdown choices.
2426
foreach (var startType in StartTypeUtils.GetStartTypeChoiceStrings())
2527
{
@@ -77,6 +79,13 @@ private void SaveStorageSize_Clicked(object sender, System.EventArgs e)
7779
}
7880
}
7981

82+
private void SaveDataResidencyRegion_Clicked(object sender, System.EventArgs e)
83+
{
84+
var inputText = DataResidencyRegion.Text;
85+
AppCenter.PlatformSetDataResidencyRegion(inputText);
86+
Preferences.Set(Constants.DataResidencyRegion, inputText);
87+
}
88+
8089
void AllowedNetworkRequestEnabled(System.Object sender, ToggledEventArgs e)
8190
{
8291
AppCenter.IsNetworkRequestsAllowed = e.Value;

Apps/Contoso.MAUI.Demo/Platforms/Windows/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
66
IgnorableNamespaces="uap rescap">
77

8-
<Identity Name="maui-package-name-placeholder" Publisher="CN=Microsoft" Version="5.0.2.0" />
8+
<Identity Name="maui-package-name-placeholder" Publisher="CN=Microsoft" Version="5.0.3.0" />
99

1010
<Properties>
1111
<DisplayName>$placeholder$</DisplayName>

Apps/Contoso.MacOS.Puppet/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<key>CFBundlePackageType</key>
1414
<string>APPL</string>
1515
<key>CFBundleShortVersionString</key>
16-
<string>5.0.2</string>
16+
<string>5.0.3</string>
1717
<key>CFBundleSignature</key>
1818
<string>????</string>
1919
<key>CFBundleVersion</key>
20-
<string>5.0.2</string>
20+
<string>5.0.3</string>
2121
<key>LSMinimumSystemVersion</key>
2222
<string>10.15</string>
2323
<key>NSHumanReadableCopyright</key>

Apps/Contoso.UWP.Demo/Contoso.UWP.Demo.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@
149149
</Page>
150150
</ItemGroup>
151151
<ItemGroup>
152-
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.2" />
153-
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.2" />
152+
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="5.0.3" />
153+
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="5.0.3" />
154154
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.8" />
155155
</ItemGroup>
156156
<ItemGroup>

Apps/Contoso.UWP.Demo/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
3-
<Identity Name="10805zumoTestUser.AppCenter-Contoso.UWP.Demo" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.2.0" />
3+
<Identity Name="10805zumoTestUser.AppCenter-Contoso.UWP.Demo" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.3.0" />
44
<mp:PhoneIdentity PhoneProductId="3bda7e44-ab20-4885-b6a0-121b9f9e33d7" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
55
<Properties>
66
<DisplayName>AppCenter-Contoso.UWP.Demo</DisplayName>

Apps/Contoso.UWP.Demo/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
// by using the '*' as shown below:
2828
// [assembly: AssemblyVersion("1.0.*")]
2929
[assembly: AssemblyVersion("0.0.0.0")]
30-
[assembly: AssemblyFileVersion("5.0.2.0")]
30+
[assembly: AssemblyFileVersion("5.0.3.0")]
3131
[assembly: ComVisible(false)]

Apps/Contoso.UWP.Puppet/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
3-
<Identity Name="10805zumoTestUser.AppCenter-Contoso.UWP.Puppet" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.2.0" />
3+
<Identity Name="10805zumoTestUser.AppCenter-Contoso.UWP.Puppet" Publisher="CN=B2D1C358-6AF8-4416-BF73-129CC1F3C152" Version="5.0.3.0" />
44
<mp:PhoneIdentity PhoneProductId="ce1e8604-09a9-4ffb-846b-8762beb84188" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
55
<Properties>
66
<DisplayName>AppCenter-Contoso.UWP.Puppet</DisplayName>

Apps/Contoso.UWP.Puppet/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
// by using the '*' as shown below:
2828
// [assembly: AssemblyVersion("1.0.*")]
2929
[assembly: AssemblyVersion("0.0.0.0")]
30-
[assembly: AssemblyFileVersion("5.0.2.0")]
30+
[assembly: AssemblyFileVersion("5.0.3.0")]
3131
[assembly: ComVisible(false)]

0 commit comments

Comments
 (0)