Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Xamarin - WebScreenlet not authenticated by loginscreenlet
Hello ,I am using webscreenlet to show url in Xamarin.Android app . But every time when i see the page in webscreenlet it asks for sign in . As per the documentation below I have implemented it .WebType.LIFERAY_AUTHENTICATED (default): Displays a Liferay Portal page that requires authentication. The user must therefore be logged in with Screens via Login Screenlet or a SessionContext method. For this WebType, the URL you must pass to the WebScreenletConfiguration.Builder constructor is a relative URL. For example, if the full URL is http://screens.liferay.org.es/web/guest/blog, then the URL you must supply to the constructor is /web/guest/blog.Kindly see the steps I have done .
https://github.com/Noufalt/LiferayScreenSamples/tree/master/testliferayScreen/BasicLoginScrnLet
- Authenticated user by LoginScreenlet
2)in success case redirected to an Activity implmented with IWebListener and provided url with a configuration below
WebScreenletConfiguration webScreenletConfiguration = new WebScreenletConfiguration
.Builder("/web/guest/myprofile")
.SetWebType(WebType.LiferayAuthenticated)
//.AddRawJs(Resource.Raw.js_master, "js_master.js")
//.AddRawCss(Resource.Raw.css_master, "css_master.css")
.Load(); - When I run the app i am able to login succussfully, but after login webscreenlet shows guest page , but as per documentation if I authenticate with loginscreenlet it should show landing page with logged in state .
https://github.com/Noufalt/LiferayScreenSamples/tree/master/testliferayScreen/BasicLoginScrnLet
Hello! Do you solve this issue? I have the same seems to be.
Hello, thanks for sharing the repository. I'll take a look.