UXDivers / Gorilla-Player-Support

This is the public Gorilla Player support website
http://gorillaplayer.com
115 stars 17 forks source link

Flush digital content in Gorilla Server #297

Closed npagare closed 6 years ago

npagare commented 6 years ago

Hi, is there a way to flush cached content at the gorilla server?

In the iOS simulator I see the same (initial) image file whenever I try to update an image (having same name) in the resources folder of iOS. Uninstalling the App and restarting Gorilla Server seems to work but not productive for time. It takes away couple of cycles.

Any thoughts?

Thanks

jpbrocca commented 6 years ago

https://github.com/UXDivers/Gorilla-Player-Support/wiki/Release-Notes-Gorilla-Player-1.0#settings-page

npagare commented 6 years ago

Hi @jpbrocca , I could clear the image cache on the Android device.

But, on my iOS simulator clicking on the settings button makes the screen blank. I also get the same blank screen when I tried to access the settings from the Gorilla player App that I have deployed on the iOS simulator. How do I fix this ? Your input will be appreciated.

I understand you don't want to keep issues open. But, as request, please don't close the issues until we get to exercise / apply your suggestion with successful outcome. I will close my issues as soon as the issue is addressed. Thanks

npagare commented 6 years ago

Hi @jpbrocca, any thought on how to address this blank screen issue when clicked on setting icon in Gorilla player in iOS Simulator? Thanks

npagare commented 6 years ago

Hi @jpbrocca , I am also experiencing big delays in getting data reflected from DesignTimeData.json into .xaml views inside the Gorilla Enabled Apps. Can you please help? I wish this issue was kept open to get under your radar and also in front of our community. Thanks

npagare commented 6 years ago

Hi @jpbrocca , here is another example of Gorilla server caching partial classes when I tried to create my own View Models and Models based on the existing code base. Initially I forgot to name the class in the constructor but the after correcting the gorilla cache is not getting flushed. Yes, I did delete obj and bin folders as well.

1>------ Rebuild All started: Project: **, Configuration: Gorilla Any CPU ------ 1>C:\Program Files\dotnet\sdk\2.1.400-preview-009171\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are working with a preview version of the .NET Core SDK. You can define the SDK version via a global.json file in the current project. More at https://go.microsoft.com/fwlink/?linkid=869452 1>Helpers\FontAwesomeWeb511Font.cs(7215,29,7215,35): warning CS0108: 'FontAwesomeWeb511Font.Equals' hides inherited member 'object.Equals(object)'. Use the new keyword if hiding was intended. 1>obj\Gorilla\netstandard2.0\Views\Ecommerce\Templates\ProductsCatalogItemTemplate.xaml.g.cs(16,6,16,54): error CS0579: Duplicate 'global::Xamarin.Forms.Xaml.XamlFilePathAttribute' attribute 1>obj\Gorilla\netstandard2.0\Views\Ecommerce\Templates\ProductsCatalogItemTemplate.xaml.g.cs(20,22,20,41): error CS0111: Type 'ProductsCatalogItemTemplate' already defines a member called 'InitializeComponent' with the same parameter types 1>obj\Gorilla\netstandard2.0\Views\Ecommerce\ProductsCatalogPage.xaml.g.cs(16,6,16,54): error CS0579: Duplicate 'global::Xamarin.Forms.Xaml.XamlFilePathAttribute' attribute 1>obj\Gorilla\netstandard2.0\Views\Ecommerce\ProductsCatalogPage.xaml.g.cs(20,22,20,41): error CS0111: Type 'ProductsCatalogPage' already defines a member called 'InitializeComponent' with the same parameter types 1>Done building project "**.csproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

jpbrocca commented 6 years ago

Hi @IoTFier,

Sometimes you could get the blank screen. Most of the times if you switch to another XAML page and return to the original it starts previewing again.

I have never experienced big delays working with design time data. It is almost instantly. Perhaps are you using big volumes of data?

About the cache issue you mention on your last post:

Best, JP

npagare commented 6 years ago

Hi @jpbrocca , thank you for your response. Always awaiting to hear from your expertise.

I am using VS 2017 15.5.6 (updated to the latest one today) on Surface book2, Win 10 64 16gb RAM, with full SSD drive.

My design time data has additional 25486 lines to the original one making it of size 242327 kb. It should not be creating a big impact as such. I am fine with the FontAwesomeWeb511Font.cs. In fact the Labels having text coming in from the font file shows up pretty fast. But the data from DesignTimeData.json takes significant time. I do flip onto other XAML file and then it shows up, but it is pretty much the case every single time. This delay started couple days ago ever since I started hitting the image caching issues.

On the ViewModels and Models you are correct, I had not updated the classnames in the XAML files with appropriate namespaces. Unfortunately, the build log was pointing to Gorilla - so that's my bad.

I am not using the Xamarin Forms 3.1.0.583944 only. Would like to use the latest stable version but waiting for Grial UI Kit to be released against that one.

Other observation I have is that there are many times when I have Gorilla.json file open and I save it (even without any changes) CTRL + S, causes trigger is pushing data from Gorilla server to the XAML output. Strange experience (though it may be triggering required code to the job done). Not happy about that.

When is the next update coming for Grial UI Kit and Gorilla ?

npagare commented 6 years ago

Hi @jpbrocca , when tried to clear image cache, I am still getting blank page on Gorilla App running on my iOS Simulator. Is there any finding on this issue on your end? Is there any new update coming to Gorilla server very soon?

Thanks

jpbrocca commented 6 years ago

HI @IoTFier,

Please check https://github.com/UXDivers/Gorilla-Player-Support/issues/298 for a possible workaround.

Best, JP