-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin on Nugets doesn't work on simulator #36
Comments
Have you init the plugin in AppDelegate? |
@VikasN0204 Hello friend. Please, give me source code or link of you repository |
@acaliaro , Yes.I have added Popup.Init() in Appdelegate. I follow all instruction mentioned in the example. |
@VikasN0204 Ok. Write me when create repository. |
@rotorgames I am new to Github. I have uploaded my repository. If you unable to get my repository,let me know, I will sent it again. |
@VikasN0204 Your repository is empty. Please add files in your repository |
@rotorgames , Can you try once again. |
@VikasN0204 This error is fix in 1.0.0.pre5. Error throw because |
@rotorgames , I am new to xamarin. Could you elaborate . Thanks. |
@VikasN0204 This ticket only for Rg.Plugins.Pupup issues. You need stady Xamarin.Forms documentation before. |
@rotorgames , |
@VikasN0204 You code is ok. You need create |
@rotorgames , Thanks, Ok where do i need to create Content . My CategoryVideoView is content page & its on its button click , i am calling below method. private async void RightPopup()
{
try
{
var page = new RightPopupPage();
await Navigation.PushPopupAsync(page);
}
catch (Exception ex)
{
string mssg = ex.Message;
//throw;
}
} and RightPopUp page is inherited from PopupPage. Even PopupPage itself inherited from content Page. public partial class RightPopupPage : PopupPage //: ContentPage
{
public RightPopupPage()
{
//InitializeComponent();
this.BackgroundColor = Color.FromHex("#2B78E4");
}
} I am still clueless ? Do you mean inside xaml, i have to add <Content.page> </Content.page> tag around my controls. |
Yes or do: public RightPopupPage()
{
//InitializeComponent();
this.BackgroundColor = Color.FromHex("#2B78E4");
Content = new ContentView();
}
} But if you use xaml page, you need invoke |
@rotorgames Thanks. I will check at my end. |
@rotorgames , After including your code, the project doesn't not throw any error but also doesn't show up the popup at all. I can only see gray screen. |
I tried using demo sample project , its works well on simulator. I want to try on Device too
But when i include the plugin 0.0.17 to my Xamarin Forms iOS/Android, it returns me below error.
I have update Xamarin on my windows Xamarin and Mac Xamarin
I even follow step at #3 --steps that are in Images you pushed but it doen't work for me..
O.s 9.3
SImulator - ios 9.3 Air 2 /iOS 9.2 iPad
android
I got this error when i call the FirstPopupPage.
{System.NullReferenceException: Object reference not set to an instance of an object
at Rg.Plugins.Popup.Animations.FadeContentAnimation.Preparing (Xamarin.Forms.View content, Rg.Plugins.Popup.Pages.PopupPage page) [0x00008] in :0
at Rg.Plugins.Popup.Animations.ScaleAnimation.Preparing (Xamarin.Forms.View content, Rg.Plugins.Popup.Pages.PopupPage page) [0x00000] in :0
at Rg.Plugins.Popup.Pages.PopupPage.PreparingAnimation () [0x0001c] in :0
at Rg.Plugins.Popup.Services.PopupNavigation.PushAsync (Rg.Plugins.Popup.Pages.PopupPage page, Boolean animate) [0x0002d] in :0
at Rg.Plugins.Popup.Extensions.NavigationExtension+d__0.MoveNext () [0x0000a] in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/3539/f37444ae/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
at bizzmapp.Videos+d__16.MoveNext () [0x0005d] in G:\Arjun_TL\Divyesh Patel Project\bizzmapp\bizzmapp\bizzmapp\Pages\Videos.xaml.cs:929 }
The text was updated successfully, but these errors were encountered: