question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PopupNavigation.PushAsync does not work with XF2.5

See original GitHub issue

I have the following method in my PCL:

Device.BeginInvokeOnMainThread(async () =>
{
   await PopupNavigation.PushAsync(popUpPage);
});

and have recently upgraded to the latest Xamarin.Forms 2.5.0 stable

and the method above never returns when pushing a new page with latest version.

Worked fine with previous stable Xamarin.Forms

I’m guessing it has something to do with this method: https://github.com/rotorgames/Rg.Plugins.Popup/blob/a44ace31c5b9dfa2df2cb7b1eb3200cf17e41d43/src/Rg.Plugins.Popup/Services/PopupNavigation.cs#L28

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:36 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
rotorgamescommented, Dec 19, 2017

@Cloudkasten @JKennedy24 Check this plugin is installed in each project and versions of this plugin are consolidated and after it, remove each bin and obj folders in solution and try again.

P.S. Update plugin to v1.1.1-pre

0reactions
rotorgamescommented, Jan 13, 2018

@brianjtools

Я получаю это в режиме выпуска UWP с 1.04 или 1.0-5 pre. Android работает. Возникло событие System.NullReferenceException HResult = 0x80004003 Сообщение = Arg_NullReferenceException Возникает как при выпуске x86, так и в x64. Версия отладки работает нормально. Похоже, что по какой-то причине страницы PopUp нельзя загружать, так как при загрузке отображается FileNotFoundException. Нечетные, так как они отлично загружаются в Debug. Вот простой пример, который вылетает в режиме Release. Есть что-то, что мне не хватает? Я загрузил код плагина и построил его, и демонстрации работали нормально в режиме Release. RgTest.zip

Did you see it? https://github.com/rotorgames/Rg.Plugins.Popup/#uwp-troubleshooting

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin forms : Issues with xamarin popup image
I am using the following code in viewmodel. var page = new Pages.MyPopUpImage(); await PopupNavigation.Instance.PushAsync(page);. Getting ...
Read more >
Async/Await for Rg.Plugins.Popup : r/xamarindevelopers
The problem is that the popup is called and displays and one its called execution immediately moves to the next line and calls ......
Read more >
Re-direct to a different content page from the Rg.Plugins. ...
I create a demo with following code, it worked as normal. Copy. await Navigation.PushAsync(new CustomerDelivery(lstOrders)); ...
Read more >
Xamarin.Forms — Xamarin Community Forums
Hi all, I have been trying to make an application that invokes camera through page rendering. I have used Custom Renderer from Xamarin....
Read more >
Xamarin Community Forums - RSSing.com
I faced a problem when saving file in the Android device in external storage location. Xamarin.Forms Android project details: Target Framework : Android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found