App UI development
Updated and enchanced MainPage Updated Core
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Microsoft.Advertising.WinRT.UI;
|
||||
using Microsoft.AppCenter.Crashes;
|
||||
using Microsoft.AppCenter.Crashes;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Windows.Services.Store;
|
||||
@@ -14,12 +13,10 @@ namespace FoxTube.Utils
|
||||
|
||||
private static bool UseTestAds => true;
|
||||
|
||||
private static string ApplicationId => UseTestAds ? "d25517cb-12d4-4699-8bdc-52040c712cab" : "9ncqqxjtdlfh";
|
||||
private static string AdsId => UseTestAds ? "test" : "1100044398";
|
||||
public static string ApplicationId => UseTestAds ? "d25517cb-12d4-4699-8bdc-52040c712cab" : "9ncqqxjtdlfh";
|
||||
public static string AdsId => UseTestAds ? "test" : "1100044398";
|
||||
private static string ProProductId => "9NP1QK556625";
|
||||
|
||||
public static NativeAdsManagerV2 AdsManager => new NativeAdsManagerV2(ApplicationId, AdsId);
|
||||
|
||||
public static async Task UpdateStoreState()
|
||||
{
|
||||
StoreProductQueryResult requset = await StoreContext.GetDefault().GetAssociatedStoreProductsAsync(new[] { "Durable" });
|
||||
|
||||
Reference in New Issue
Block a user