Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Appoxee.Shared().EngageAndAutoIntegrateWithLaunchOptions(launchOptions, null, Server.Test);
            
AppoxeeInapp.Shared().EngageWithDelegate(AppoxeeInappdelegate, Inappserver.tEST);

Appoxee.Shared().AddObserver(this, (NSString)"isReady", NSKeyValueObservingOptions.Old | NSKeyValueObservingOptions.New, (IntPtr)1);


Code Block
languagec#
titleInit location managers
public override void ObserveValue(NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context)
{
   if (keyPath == "isReady")
   {
       Appoxee.Shared().RemoveObserver(this, "isReady");
       locationDelegete = new LocationDelegate();
       AppoxeeLocationManager.Shared().Delegate = locationDelegete;
       AppoxeeLocationManager.Shared().LogLevel = 1;
       AppoxeeLocationManager.Shared().EnableLocationMonitoring();
   }
   else
   {
         base.ObserveValue(keyPath, ofObject, change, context);
   }
}



15. Select options from project settings

...