Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit ac3d1e6

Browse files
committed
Added iRate
1 parent 2de3bd9 commit ac3d1e6

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CodeHub.iOS/AppDelegate.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ public override UIColor NavigationBarTintColor
6565
/// <returns>True or false.</returns>
6666
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
6767
{
68+
var iRate = MTiRate.iRate.SharedInstance;
69+
iRate.AppStoreID = 707173885;
70+
6871
UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.LightContent;
6972
UINavigationBar.Appearance.TintColor = UIColor.White;
7073
UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB(50, 50, 50);
7174
UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes { TextColor = UIColor.White, Font = UIFont.SystemFontOfSize(18f) });
7275
CodeFramework.iOS.Utils.Hud.BackgroundTint = UIColor.FromRGBA(228, 228, 228, 128);
73-
7476

7577
UserVoice.UVStyleSheet.StyleSheet = new UserVoiceStyleSheet();
7678

@@ -88,7 +90,6 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options)
8890

8991
this.window = new UIWindow(UIScreen.MainScreen.Bounds);
9092

91-
9293
// Setup theme
9394
Theme.Setup();
9495

CodeHub.iOS/CodeHub.iOS.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@
231231
<Reference Include="Cirrious.MvvmCross.Plugins.Messenger">
232232
<HintPath>..\lib\CodeFramework\lib\iOS\Cirrious.MvvmCross.Plugins.Messenger.dll</HintPath>
233233
</Reference>
234+
<Reference Include="MTiRate">
235+
<HintPath>..\lib\CodeFramework\lib\iOS\MTiRate.dll</HintPath>
236+
</Reference>
234237
</ItemGroup>
235238
<ItemGroup>
236239
<Content Include="Images\anonymous%402x.png" />

lib/CodeFramework

0 commit comments

Comments
 (0)