public void onApp(string app_id) { byte[][] user_addresses = new byte[][] { friend.walletAddress }; CustomAppPage custom_app_page = new CustomAppPage(app_id, IxianHandler.getWalletStorage().getPrimaryAddress(), user_addresses, Node.customAppManager.getAppEntryPoint(app_id)); custom_app_page.accepted = true; Node.customAppManager.addAppPage(custom_app_page); Xamarin.Forms.Device.BeginInvokeOnMainThread(() => { Navigation.PushAsync(custom_app_page, Config.defaultXamarinAnimations); }); StreamProcessor.sendAppRequest(friend, app_id, custom_app_page.sessionId); }