Skip to content

Instantly share code, notes, and snippets.

@coronarob
Created March 24, 2015 00:32
Show Gist options
  • Save coronarob/65af97e9946a5e2e132e to your computer and use it in GitHub Desktop.
Save coronarob/65af97e9946a5e2e132e to your computer and use it in GitHub Desktop.
Enable the rateApp Event
private void OnCoronaRuntimeLoaded(
object sender, CoronaLabs.Corona.WinRT.CoronaRuntimeEventArgs e)
{
// Keep a reference to the Corona runtime environment.
// It's needed so that your login window's results can be dispatched to Corona.
fCoronaRuntimeEnvironment = e.CoronaRuntimeEnvironment;
fCoronaRuntimeEnvironment.AddEventListener("rateApp", rateApp);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment