Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
Adding test version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-Apps committed Jul 31, 2016
1 parent 40b4390 commit a023c85
Show file tree
Hide file tree
Showing 29 changed files with 7 additions and 6 deletions.
Binary file modified .vs/Pokemon Go Universal/v14/.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions PokemonGo-UWP/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public override async Task OnStartAsync(StartKind startKind, IActivatedEventArgs
if (!string.IsNullOrEmpty(SettingsService.Instance.PtcAuthToken))
{
// We have a stored token, let's go to game page
NavigationService.Navigate(typeof(GameMapPage));
await ViewModelLocator.GameManagerViewModel.InitGame(true);
NavigationService.Navigate(typeof(GameMapPage), true);
//await ViewModelLocator.GameManagerViewModel.InitGame(true);
}

// Check for updates
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion PokemonGo-UWP/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
<Identity Name="c602d2cb-fdd8-4e41-b5a1-8f9a8a1f56c7" Publisher="CN=stept" Version="1.0.5.0" />
<Identity Name="c602d2cb-fdd8-4e41-b5a1-8f9a8a1f56c7" Publisher="CN=stept" Version="1.0.6.0" />
<mp:PhoneIdentity PhoneProductId="c602d2cb-fdd8-4e41-b5a1-8f9a8a1f56c7" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>PoGo-UWP</DisplayName>
Expand Down
7 changes: 4 additions & 3 deletions PokemonGo-UWP/ViewModels/GameManagerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public GameManagerViewModel()

public override async Task OnNavigatedToAsync(object parameter, NavigationMode mode,
IDictionary<string, object> suspensionState)
{
if (suspensionState.Any())
{
if (suspensionState.Any() || parameter != null)
{
// Restoring from suspend means that we need to initialize the game again
// Restoring from suspend or having that parameter means that we need to initialize the game again
await InitGame(true);
}
await Task.CompletedTask;
Expand Down Expand Up @@ -665,6 +665,7 @@ private async Task ThrowPokeball()
await new MessageDialog($"{CurrentPokemon.PokemonId} escaped").ShowAsyncQueue();
UpdateMapData();
UpdateInventory();
NavigationService.GoBack();
break;
case CatchPokemonResponse.Types.CatchStatus.CatchFlee:
Logger.Write($"{CurrentPokemon.PokemonId} escaped");
Expand Down

0 comments on commit a023c85

Please sign in to comment.