crosswalk-project / crosswalk-ios

Crosswalk Project for iOS
https://crosswalk-project.org/
BSD 3-Clause "New" or "Revised" License
117 stars 77 forks source link

CordovaPluginFileDemo: splash screen #26

Open videophonegeek opened 9 years ago

videophonegeek commented 9 years ago

I applied the update to CDVViewController.h that is pending to get beyond the build errors on the demo workspace. It appears that the splashScreen plugin is very picky about the file names and the resources in ThirdParty are not those names. screen shot 2015-03-29 at 3 37 48 pm The work-around that I used was to rename the file Default-568h@2x then add it to the copy bundle resources:

screen shot 2015-03-29 at 3 38 48 pm That eliminates the NSLog from the splashscreen. I am still debugging why the splash screen itself does not appear--even briefly. Edit: I understand this because there are no settings transferred to the plugin. Need all your changes merged.

I also notice there are 4 warnings on building this workspace. Two are deprecations, one truncation, and one not defined.

jondong commented 9 years ago

@videophonegeek Thanks for your try, as far as I can remember when implementing this demo, I just made the splash screen build(as it is needed by the demo), and mainly focusing on the File API, so the implementation of Splash Screen API has not been completed.

Recently I'm working on enabling all the Cordova official plugins, this one is on my list. I'll notify you as soon as it will have been done.

videophonegeek commented 9 years ago

Hi Jonathan, Are you at all connected to the Intel XDK? I successfully transfered a project from there, after many frustrations, to the crosswalk-ios. Tonight it is working perfectly! I'd like to make the plugins work so I can use additional features. Let me know if I can help.

jondong commented 9 years ago

As far as I know XDK uses Cordova as its runtime for iOS platform, and we're seeking the chance to integrate crosswalk-ios with XDK as its embedding runtime provider. Hope this could happen soon.

videophonegeek commented 9 years ago

XDK offers a Crosswalk build for Android but not iOS--only the "Cordova Hybrid". It would make a good addition to XDK.