Beispiel #1
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //var options = new FirebaseOptions.Builder()
            //.SetApplicationId("simplemessager")
            //.SetApiKey("AIzaSyCg847Wo53-3PLgUpkMWNpda9yL3qR-7HQ")
            //.SetDatabaseUrl("https://simplemessager.firebaseio.com/")
            //// .SetGcmSenderId(GcmSenderId)
            //.Build();

            //var firebaseOptions = new Firebase.Analytics.Options("//GoogleService-Info.plist");

            // RegisterDeal.mainActivity = this;

            Firebase.Analytics.App.Configure();

            VideoViewRenderer.Init();
            // QuickbloxPlatform.Init();

            global::Xamarin.Forms.Forms.Init();

            AppDelegate.SelfDelegate = this;

            VideoProvider = new VideoChatProvider()
            {
                SubscribeToSelf = false
            };
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
 public PublisherDelegate(VideoChatProvider provider)
 {
     this.provider = provider;
 }
Beispiel #3
0
 public SessionDelegate(VideoChatProvider provider)
 {
     this.provider = provider;
 }
Beispiel #4
0
 public SubscriberDelegate(VideoChatProvider provider)
 {
     this.provider = provider;
 }