Comments (27)
@yhax Hello. Maybe problem in IOS Linker. You can turn SDK Linker on Dont Link
. Try it, and say me if this will help. Thank You.
from rg.plugins.popup.
@rotorgames Hey, thanks for the fast reply. If I use Dont link, it works fine. Is there a way to get it working without this option?
from rg.plugins.popup.
@yhax Try turn SDK Linker on Link SDK assemblies only
.
You add Popup.Init
in AppDelegate?
from rg.plugins.popup.
@rotorgames Yes sir. Even if I run the demo from your code, without changing a single line of code, in release mode, it will fail on the device.
from rg.plugins.popup.
@yhax Crash only from Link all assemblies
or Link SDK assemblies only
also?
from rg.plugins.popup.
Link None = Everything works as expected.
Link SDK assemblies only = The page with the menu options opens. Click any one of them, app will crash.
Link ALL = App will crash on start up. It won't even get to the menu options.
from rg.plugins.popup.
@yhax Try add [assembly:LinkerSafe]
in AssemblyInfo.cs projects Demo.iOS and Rg.Plugins.Popup.IOS.
from rg.plugins.popup.
@yhax And add [assembly: Preserve]
in PopupNavigationIOS.cs
so:
[assembly: Dependency(typeof(PopupNavigationIOS))]
[assembly: Preserve] // or [assembly: Preserve(typeof(PopupNavigationIOS))]
namespace Rg.Plugins.Popup.IOS.Impl
{
class PopupNavigationIOS : IPopupNavigation
{
....
from rg.plugins.popup.
@yhax Please, fork this branch and test. I add fix code in last commit. Maybe this will help.
from rg.plugins.popup.
@rotorgames thanks for looking at it so quick! will do! (unable to test until probably monday, will keep you posted!)
from rg.plugins.popup.
@yhax I think solved problem from SDK Linker. Please testing this branch from last commit. Problem must be fixed. Thank you!
P.S. Now you can use Link all assemblies
in iOS and Android projects.
from rg.plugins.popup.
@rotorgames It is complaining that PreserveAttribute.cs is missing.
from rg.plugins.popup.
@yhax I'm sorry, i forgot remove PreserveAttribute.cs in csproject. Please Pull last commit in ios-linker
from rg.plugins.popup.
from rg.plugins.popup.
@yhax I'm sorry for my bad english. I meant, try branch ios-linker now. I push two commit, that fix PreserveAttribute
error.
from rg.plugins.popup.
No problem. I got the latest code, you are missing using Rg.Plugins.Popup; in Assembly.cs, in the Demo project. I tried deploying it to the device in release mode, with the same linker setting - Link SDK assemblies only, but it is still crashing on the device, when trying to open any of the demo pages. Are you able to run on your own device and if you are, does it work in release mode?
from rg.plugins.popup.
@yhax Unfortunately, i can not testing on real ios device. It's error appears only on real device or on simulator also, in mode release?
from rg.plugins.popup.
@rotorgames No problem. It will crash in the sim as well. Try using these settings:
from rg.plugins.popup.
@yhax I tested on:
Xamarin Studio 5.10.2
Mac OS 10.11.3
iPhoneSimulator iPad Retina iOS 9.2
It's all ok. Build compiled in release mode, and working on iPhoneSimulator SDK 9.2
Please, download project zip file, and testing on him. This project 100% working for me. Maybe trouble only on real device?
from rg.plugins.popup.
from rg.plugins.popup.
@rotorgames the zip file you attached works perfectly in the simulator.. I'm not sure what is the difference with the version from the other branch?.. but still, even though it works in release, in the sim, it is still crashing on the device in release mode. Maybe someone else with a device can confirm for you?
from rg.plugins.popup.
@yhax I asked my friend tested on ios device 9.2. And he working.
What is your version Xamarin.IOS (MonoTouch), Xamarin Studio?
from rg.plugins.popup.
@yhax P.S. You tested nuget library in you project? Nuget version also have this problem?
from rg.plugins.popup.
@rotorgames I am using 9.2.1 on the device (ipad mini 2nd gen), running xamarin studio (5.10.2 build 56), on my mac which has El Capitan. Yes, I tested the nuget library and I have the same problem. If you are unable to reproduce it, I guess we can close it for now. I have implemented a different solution for now.
from rg.plugins.popup.
@yhax Ok. Thank you for issues. As soon as news, i write in this issues.
from rg.plugins.popup.
@yhax P.S. Update Xamarin.IOS version. Maybe problem in old version Xamarin.IOS.
from rg.plugins.popup.
@yhax Hey. It took a long time and finally the error has been eliminated. If you're still using my plugin can be updated to version v0.0.15. The error should be corrected. Thank you.
from rg.plugins.popup.
Related Issues (20)
- Memory leak when pushing and poping a page many times HOT 1
- UWN problem HOT 1
- Popup window disappears when owner window is resized
- Prevent clicking "Out of popup" HOT 1
- Lottie animation randomly shows or not in Popup while using nuget version 2.1.0
- MoveAnimation does not work on iOS
- iOS: Mirrored screen: The pop up may only appear on the external display HOT 4
- Close Button Click Event HOT 1
- Webview input covered by keyboard on Android 13
- Additional Margin space on iOS
- HasKeyboardOffset=false does not work on iOS. When the keyboard is opened, the page does not go up.
- Q: Android API 33 - OnBackPressed obsolete HOT 1
- EXC_BAD_ACCESS (SIGSEGV)
- Rg.Plugins.Popup.Exceptions.RGInitialisationException: 'You MUST call Rg.Plugins.Popup.Popup.Init(); prior to using it.
- System.MissingMethodException: No constructor found for Rg.Plugins.Popup.Droid.Renderers.PopupPageRenderer
- MAUI: Pop up page is not loading on Button click (Android Platform)
- Xamarin UWP release
- Inquiry Regarding Privacy Policy in Rg.Plugins.Popup
- I have a problem where the keyboard closes when I move the focus from Entry 1 to Entry 2.
- ImputSoft Android on PopupPage not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rg.plugins.popup.