├── .DS_Store ├── .gitignore ├── LICENSE ├── README.md ├── config.xml ├── electron.copy.js ├── ionic.config.json ├── main.js ├── package.json ├── platforms └── platforms.json ├── plugins ├── cordova-plugin-console │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── ios │ │ │ ├── CDVLogger.h │ │ │ └── CDVLogger.m │ │ ├── ubuntu │ │ │ ├── console.cpp │ │ │ └── console.h │ │ └── wp │ │ │ └── DebugConsole.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── console-via-logger.js │ │ └── logger.js ├── cordova-plugin-crosswalk-webview │ ├── LICENSE │ ├── NOTICE │ ├── PlatformScriptsWorkflow.md │ ├── README.md │ ├── hooks │ │ ├── after_build │ │ │ └── 000-build_64_bit.js │ │ ├── after_plugin_install │ │ │ └── 000-shared_mode_special.js │ │ ├── before_build │ │ │ └── 000-build_64_bit.js │ │ ├── before_plugin_uninstall │ │ │ └── 000-shared_mode_special.js │ │ └── update_config.js │ ├── package.json │ ├── platforms │ │ └── android │ │ │ ├── src │ │ │ └── org │ │ │ │ └── crosswalk │ │ │ │ └── engine │ │ │ │ ├── XWalkCordovaClientCertRequest.java │ │ │ │ ├── XWalkCordovaCookieManager.java │ │ │ │ ├── XWalkCordovaHttpAuthHandler.java │ │ │ │ ├── XWalkCordovaResourceClient.java │ │ │ │ ├── XWalkCordovaUiClient.java │ │ │ │ ├── XWalkCordovaView.java │ │ │ │ ├── XWalkExposedJsApi.java │ │ │ │ └── XWalkWebViewEngine.java │ │ │ └── xwalk.gradle │ └── plugin.xml ├── cordova-plugin-device │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── Device.java │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── browser │ │ │ └── DeviceProxy.js │ │ ├── firefoxos │ │ │ └── DeviceProxy.js │ │ ├── ios │ │ │ ├── CDVDevice.h │ │ │ └── CDVDevice.m │ │ ├── osx │ │ │ ├── CDVDevice.h │ │ │ └── CDVDevice.m │ │ ├── tizen │ │ │ └── DeviceProxy.js │ │ ├── ubuntu │ │ │ ├── device.cpp │ │ │ ├── device.h │ │ │ └── device.js │ │ ├── windows │ │ │ └── DeviceProxy.js │ │ └── wp │ │ │ └── Device.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ └── device.js ├── cordova-plugin-inappbrowser │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── amazon │ │ │ ├── InAppBrowser.java │ │ │ └── InAppChromeClient.java │ │ ├── android │ │ │ ├── InAppBrowser.java │ │ │ ├── InAppBrowserDialog.java │ │ │ ├── InAppChromeClient.java │ │ │ └── res │ │ │ │ ├── drawable-hdpi │ │ │ │ ├── ic_action_next_item.png │ │ │ │ ├── ic_action_previous_item.png │ │ │ │ └── ic_action_remove.png │ │ │ │ ├── drawable-mdpi │ │ │ │ ├── ic_action_next_item.png │ │ │ │ ├── ic_action_previous_item.png │ │ │ │ └── ic_action_remove.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ic_action_next_item.png │ │ │ │ ├── ic_action_previous_item.png │ │ │ │ └── ic_action_remove.png │ │ │ │ └── drawable-xxhdpi │ │ │ │ ├── ic_action_next_item.png │ │ │ │ ├── ic_action_previous_item.png │ │ │ │ └── ic_action_remove.png │ │ ├── blackberry10 │ │ │ ├── README.md │ │ │ └── doc │ │ │ │ ├── de │ │ │ │ └── README.md │ │ │ │ ├── es │ │ │ │ └── README.md │ │ │ │ ├── fr │ │ │ │ └── README.md │ │ │ │ ├── it │ │ │ │ └── README.md │ │ │ │ ├── ja │ │ │ │ └── README.md │ │ │ │ ├── ko │ │ │ │ └── README.md │ │ │ │ ├── pl │ │ │ │ └── README.md │ │ │ │ └── zh │ │ │ │ └── README.md │ │ ├── browser │ │ │ └── InAppBrowserProxy.js │ │ ├── firefoxos │ │ │ └── InAppBrowserProxy.js │ │ ├── ios │ │ │ ├── CDVInAppBrowser.h │ │ │ └── CDVInAppBrowser.m │ │ ├── ubuntu │ │ │ ├── InAppBrowser.qml │ │ │ ├── InAppBrowser_escapeScript.js │ │ │ ├── close.png │ │ │ ├── inappbrowser.cpp │ │ │ └── inappbrowser.h │ │ ├── windows │ │ │ └── InAppBrowserProxy.js │ │ └── wp │ │ │ └── InAppBrowser.cs │ ├── tests │ │ ├── plugin.xml │ │ ├── resources │ │ │ ├── inject.css │ │ │ ├── inject.html │ │ │ ├── inject.js │ │ │ ├── local.html │ │ │ ├── local.pdf │ │ │ └── video.html │ │ └── tests.js │ └── www │ │ ├── inappbrowser.css │ │ ├── inappbrowser.js │ │ └── windows8 │ │ └── InAppBrowserProxy.js ├── cordova-plugin-splashscreen │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── SplashScreen.java │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── browser │ │ │ └── SplashScreenProxy.js │ │ ├── ios │ │ │ ├── CDVSplashScreen.h │ │ │ ├── CDVSplashScreen.m │ │ │ ├── CDVViewController+SplashScreen.h │ │ │ └── CDVViewController+SplashScreen.m │ │ ├── tizen │ │ │ └── SplashScreenProxy.js │ │ ├── ubuntu │ │ │ ├── splashscreen.cpp │ │ │ └── splashscreen.h │ │ └── wp │ │ │ ├── ResolutionHelper.cs │ │ │ └── SplashScreen.cs │ ├── tests │ │ ├── ios │ │ │ ├── CDVSplashScreenTest.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── CDVSplashScreenTest.xccheckout │ │ │ │ │ └── xcschemes │ │ │ │ │ └── CordovaLib.xcscheme │ │ │ ├── CDVSplashScreenTest │ │ │ │ ├── .npmignore │ │ │ │ ├── CDVSplashScreenLibTests │ │ │ │ │ ├── ImageNameTest.m │ │ │ │ │ ├── ImageNameTestDelegates.h │ │ │ │ │ ├── ImageNameTestDelegates.m │ │ │ │ │ └── Info.plist │ │ │ │ └── CDVSplashScreenTest.xcodeproj │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── CDVSplashScreenTest.xccheckout │ │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ ├── CDVSplashScreenLib.xcscheme │ │ │ │ │ └── CDVSplashScreenLibTests.xcscheme │ │ │ ├── README.md │ │ │ ├── doc │ │ │ │ ├── de │ │ │ │ │ └── README.md │ │ │ │ ├── es │ │ │ │ │ └── README.md │ │ │ │ ├── fr │ │ │ │ │ └── README.md │ │ │ │ ├── it │ │ │ │ │ └── README.md │ │ │ │ ├── ja │ │ │ │ │ └── README.md │ │ │ │ ├── ko │ │ │ │ │ └── README.md │ │ │ │ ├── pl │ │ │ │ │ └── README.md │ │ │ │ └── zh │ │ │ │ │ └── README.md │ │ │ └── package.json │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── splashscreen.js │ │ └── windows │ │ └── SplashScreenProxy.js ├── cordova-plugin-statusbar │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── StatusBar.java │ │ ├── browser │ │ │ └── StatusBarProxy.js │ │ ├── ios │ │ │ ├── CDVStatusBar.h │ │ │ └── CDVStatusBar.m │ │ ├── windows │ │ │ └── StatusBarProxy.js │ │ └── wp │ │ │ └── StatusBar.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ └── statusbar.js ├── cordova-plugin-whitelist │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ └── README.md │ │ ├── es │ │ │ └── README.md │ │ ├── fr │ │ │ └── README.md │ │ ├── it │ │ │ └── README.md │ │ ├── ja │ │ │ └── README.md │ │ ├── ko │ │ │ └── README.md │ │ ├── pl │ │ │ └── README.md │ │ └── zh │ │ │ └── README.md │ ├── package.json │ ├── plugin.xml │ └── src │ │ └── android │ │ └── WhitelistPlugin.java ├── cordova-plugin-wkwebview-engine │ ├── README.md │ ├── RELEASENOTES.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── ios │ │ │ ├── CDVWKWebViewEngine.h │ │ │ ├── CDVWKWebViewEngine.m │ │ │ ├── CDVWKWebViewUIDelegate.h │ │ │ ├── CDVWKWebViewUIDelegate.m │ │ │ ├── LICENSE │ │ │ └── xhr.js │ │ └── www │ │ │ └── ios │ │ │ └── ios-wkwebview-exec.js │ └── tests │ │ ├── ios │ │ ├── CDVWKWebViewEngineTest.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── CDVWKWebViewEngineTest.xccheckout │ │ │ │ └── xcschemes │ │ │ │ └── CordovaLib.xcscheme │ │ ├── CDVWKWebViewEngineTest │ │ │ ├── .gitignore │ │ │ ├── CDVWKWebViewEngineLibTests │ │ │ │ ├── CDVWKWebViewEngineTest.m │ │ │ │ └── Info.plist │ │ │ └── CDVWKWebViewEngineTest.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── CDVWKWebViewEngineTest.xccheckout │ │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ ├── CDVWKWebViewEngineLib.xcscheme │ │ │ │ └── CDVWKWebViewEngineLibTests.xcscheme │ │ ├── README.md │ │ └── package.json │ │ ├── plugin.xml │ │ └── tests.js ├── fetch.json └── ionic-plugin-keyboard │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── plugin.xml │ ├── src │ ├── android │ │ └── IonicKeyboard.java │ ├── blackberry10 │ │ ├── index.js │ │ └── native │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── device │ │ │ ├── libKeyboard.so │ │ │ ├── public │ │ │ │ ├── json_reader.o │ │ │ │ ├── json_value.o │ │ │ │ ├── json_writer.o │ │ │ │ ├── plugin.o │ │ │ │ └── tokenizer.o │ │ │ └── src │ │ │ │ ├── CallKeyboard.o │ │ │ │ ├── Logger.o │ │ │ │ ├── keyboard_js.o │ │ │ │ └── keyboard_ndk.o │ │ │ ├── public │ │ │ ├── json │ │ │ │ ├── autolink.h │ │ │ │ ├── config.h │ │ │ │ ├── features.h │ │ │ │ ├── forwards.h │ │ │ │ ├── json.h │ │ │ │ ├── reader.h │ │ │ │ ├── value.h │ │ │ │ └── writer.h │ │ │ ├── json_batchallocator.h │ │ │ ├── json_internalarray.inl │ │ │ ├── json_internalmap.inl │ │ │ ├── json_reader.cpp │ │ │ ├── json_value.cpp │ │ │ ├── json_valueiterator.inl │ │ │ ├── json_writer.cpp │ │ │ ├── plugin.cpp │ │ │ ├── plugin.h │ │ │ ├── tokenizer.cpp │ │ │ └── tokenizer.h │ │ │ ├── simulator │ │ │ ├── libKeyboard.so │ │ │ ├── public │ │ │ │ ├── json_reader.o │ │ │ │ ├── json_value.o │ │ │ │ ├── json_writer.o │ │ │ │ ├── plugin.o │ │ │ │ └── tokenizer.o │ │ │ └── src │ │ │ │ ├── CallKeyboard.o │ │ │ │ ├── Logger.o │ │ │ │ ├── keyboard_js.o │ │ │ │ └── keyboard_ndk.o │ │ │ └── src │ │ │ ├── Logger.cpp │ │ │ ├── Logger.hpp │ │ │ ├── keyboard_js.cpp │ │ │ ├── keyboard_js.hpp │ │ │ ├── keyboard_ndk.cpp │ │ │ └── keyboard_ndk.hpp │ ├── ios │ │ ├── IonicKeyboard.h │ │ └── IonicKeyboard.m │ └── windows │ │ └── KeyboardProxy.js │ └── www │ ├── android │ └── keyboard.js │ ├── browser │ └── keyboard.js │ └── ios │ └── keyboard.js ├── resources ├── android │ ├── icon │ │ ├── drawable-hdpi-icon.png │ │ ├── drawable-ldpi-icon.png │ │ ├── drawable-mdpi-icon.png │ │ ├── drawable-xhdpi-icon.png │ │ ├── drawable-xxhdpi-icon.png │ │ └── drawable-xxxhdpi-icon.png │ └── splash │ │ ├── drawable-land-hdpi-screen.png │ │ ├── drawable-land-ldpi-screen.png │ │ ├── drawable-land-mdpi-screen.png │ │ ├── drawable-land-xhdpi-screen.png │ │ ├── drawable-land-xxhdpi-screen.png │ │ ├── drawable-land-xxxhdpi-screen.png │ │ ├── drawable-port-hdpi-screen.png │ │ ├── drawable-port-ldpi-screen.png │ │ ├── drawable-port-mdpi-screen.png │ │ ├── drawable-port-xhdpi-screen.png │ │ ├── drawable-port-xxhdpi-screen.png │ │ └── drawable-port-xxxhdpi-screen.png ├── icon.psd ├── ios │ ├── icon │ │ ├── icon-40.png │ │ ├── icon-40@2x.png │ │ ├── icon-40@3x.png │ │ ├── icon-50.png │ │ ├── icon-50@2x.png │ │ ├── icon-60.png │ │ ├── icon-60@2x.png │ │ ├── icon-60@3x.png │ │ ├── icon-72.png │ │ ├── icon-72@2x.png │ │ ├── icon-76.png │ │ ├── icon-76@2x.png │ │ ├── icon-83.5@2x.png │ │ ├── icon-small.png │ │ ├── icon-small@2x.png │ │ ├── icon-small@3x.png │ │ ├── icon.png │ │ └── icon@2x.png │ └── splash │ │ ├── Default-568h@2x~iphone.png │ │ ├── Default-667h.png │ │ ├── Default-736h.png │ │ ├── Default-Landscape-736h.png │ │ ├── Default-Landscape@2x~ipad.png │ │ ├── Default-Landscape~ipad.png │ │ ├── Default-Portrait@2x~ipad.png │ │ ├── Default-Portrait~ipad.png │ │ ├── Default@2x~iphone.png │ │ └── Default~iphone.png ├── screenshots │ ├── AboutPage.png │ ├── AccountPage.png │ ├── LoginPage.png │ ├── MapPage.png │ ├── ScheduleFilterPage.png │ ├── SchedulePage.png │ ├── SessionDetailPage.png │ ├── SignupPage.png │ ├── SpeakerDetailPage.png │ ├── SpeakerListPage.png │ └── TutorialPage.png └── splash.png ├── src ├── app │ ├── app.component.ts │ ├── app.module.ts │ ├── app.template.html │ └── main.ts ├── assets │ ├── data │ │ └── data.json │ └── img │ │ ├── appicon.png │ │ ├── appicon.svg │ │ ├── ica-slidebox-img-1.png │ │ ├── ica-slidebox-img-2.png │ │ ├── ica-slidebox-img-3.png │ │ ├── ica-slidebox-img-4.png │ │ ├── ionic-logo-white.svg │ │ └── speakers │ │ ├── bear.jpg │ │ ├── cheetah.jpg │ │ ├── duck.jpg │ │ ├── eagle.jpg │ │ ├── elephant.jpg │ │ ├── giraffe.jpg │ │ ├── iguana.jpg │ │ ├── kitten.jpg │ │ ├── lion.jpg │ │ ├── mouse.jpg │ │ ├── puppy.jpg │ │ ├── rabbit.jpg │ │ └── turtle.jpg ├── declarations.d.ts ├── index.html ├── manifest.json ├── pages │ ├── about-popover │ │ └── about-popover.ts │ ├── about │ │ ├── about.html │ │ ├── about.scss │ │ └── about.ts │ ├── account │ │ ├── account.html │ │ ├── account.scss │ │ └── account.ts │ ├── login │ │ ├── login.html │ │ ├── login.scss │ │ └── login.ts │ ├── map │ │ ├── map.html │ │ ├── map.scss │ │ └── map.ts │ ├── schedule-filter │ │ ├── schedule-filter.html │ │ ├── schedule-filter.scss │ │ └── schedule-filter.ts │ ├── schedule │ │ ├── schedule.html │ │ ├── schedule.scss │ │ └── schedule.ts │ ├── session-detail │ │ ├── session-detail.html │ │ └── session-detail.ts │ ├── signup │ │ ├── signup.html │ │ ├── signup.scss │ │ └── signup.ts │ ├── speaker-detail │ │ ├── speaker-detail.html │ │ ├── speaker-detail.scss │ │ └── speaker-detail.ts │ ├── speaker-list │ │ ├── speaker-list.html │ │ ├── speaker-list.scss │ │ └── speaker-list.ts │ ├── support │ │ ├── support.html │ │ ├── support.scss │ │ └── support.ts │ ├── tabs │ │ ├── tabs.html │ │ ├── tabs.scss │ │ └── tabs.ts │ └── tutorial │ │ ├── tutorial.html │ │ ├── tutorial.scss │ │ └── tutorial.ts ├── providers │ ├── conference-data.ts │ └── user-data.ts └── theme │ └── variables.scss ├── tsconfig.json └── tslint.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | www -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ionic-electron prototype 2 | 3 | To get started simply run `npm install`, `npm run build` and then `npm start`. -------------------------------------------------------------------------------- /electron.copy.js: -------------------------------------------------------------------------------- 1 | // this is a custom dictionary to make it easy to extend/override 2 | // provide a name for an entry, it can be anything such as 'copyAssets' or 'copyFonts' 3 | // then provide an object with a `src` array of globs and a `dest` string 4 | module.exports = { 5 | copyAssets: { 6 | src: ['{{SRC}}/assets/**/*'], 7 | dest: '{{WWW}}/assets' 8 | }, 9 | copyIndexContent: { 10 | src: ['{{SRC}}/index.html', '{{SRC}}/manifest.json'], 11 | dest: '{{WWW}}' 12 | }, 13 | copyFonts: { 14 | src: ['{{ROOT}}/node_modules/ionicons/dist/fonts/**/*', '{{ROOT}}/node_modules/ionic-angular/fonts/**/*'], 15 | dest: '{{WWW}}/assets/fonts' 16 | }, 17 | copyPolyfills: { 18 | src: ['{{ROOT}}/node_modules/ionic-angular/polyfills/polyfills.ng.js'], 19 | dest: '{{BUILD}}' 20 | }, 21 | copySwToolbox: { 22 | src: ['{{ROOT}}/node_modules/sw-toolbox/sw-toolbox.js'], 23 | dest: '{{BUILD}}' 24 | } 25 | } -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-conference-app", 3 | "app_id": "", 4 | "typescript": true, 5 | "v2": true 6 | } 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "electron-quick-start", 3 | "version": "1.0.0", 4 | "description": "A minimal Electron application", 5 | "main": "main.js", 6 | "scripts": { 7 | "start": "electron .", 8 | "build": "ionic-app-scripts build --copy electron.copy.js", 9 | "clean": "ionic-app-scripts clean", 10 | "ionic:build": "ionic-app-scripts build", 11 | "ionic:serve": "ionic-app-scripts serve" 12 | }, 13 | "config": { 14 | "ionic_copy": "electron.copy.js" 15 | }, 16 | "repository": "https://github.com/electron/electron-quick-start", 17 | "dependencies": { 18 | "@angular/common": "2.2.1", 19 | "@angular/compiler": "2.2.1", 20 | "@angular/compiler-cli": "2.2.1", 21 | "@angular/core": "2.2.1", 22 | "@angular/forms": "2.2.1", 23 | "@angular/http": "2.2.1", 24 | "@angular/platform-browser": "2.2.1", 25 | "@angular/platform-browser-dynamic": "2.2.1", 26 | "@angular/platform-server": "2.2.1", 27 | "@ionic/storage": "1.1.7", 28 | "ionic-angular": "2.0.0", 29 | "ionic-native": "2.4.1", 30 | "ionicons": "3.0.0", 31 | "rxjs": "5.0.0-beta.12", 32 | "zone.js": "0.6.26" 33 | }, 34 | "devDependencies": { 35 | "electron": "^1.4.1", 36 | "@ionic/app-scripts": "1.0.0", 37 | "typescript": "2.0.9" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /platforms/platforms.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ja/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | [![Build Status](https://travis-ci.org/apache/cordova-plugin-console.svg)](https://travis-ci.org/apache/cordova-plugin-console) 23 | 24 | このプラグインは、その console.log() がすることができます便利なことを確認するものです。 それは iOS、Ubuntu、Windows Phone 8 は、Windows に追加の関数を追加します。 場合はあなたのための console.log() の作品に満足しているし、おそらく必要はありませんこのプラグイン。 25 | 26 | このプラグインでは、グローバル ・ `console` オブジェクトを定義します。 27 | 28 | オブジェクトは、グローバル スコープでですが、このプラグインによって提供される機能は、`deviceready` イベントの後まで使用できません。 29 | 30 | document.addEventListener("deviceready", onDeviceReady, false); 31 | function onDeviceReady() { 32 | console.log("console.log works well"); 33 | } 34 | 35 | 36 | ## インストール 37 | 38 | cordova plugin add cordova-plugin-console 39 | 40 | 41 | ### Android の癖 42 | 43 | アンドロイド以外のいくつかのプラットフォームで console.log() は console.log (「1」、「2」、「3」) など、複数の引数に動作します。 しかし、アンドロイドは、最初の引数でのみ動作します。 console.log() に後続の引数は無視されます。 このプラグインが原因ではない、それは Android の自体の制限です。 -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ja/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | このプラグインは、その console.log() がすることができます便利なことを確認するものです。 それは、iOS、Ubuntu、Windows Phone 8 および Windows 8 の追加関数を追加します。 場合はあなたのための console.log() の作品に満足しているし、おそらく必要はありませんこのプラグイン。 23 | 24 | このプラグインでは、グローバル ・ `console` オブジェクトを定義します。 25 | 26 | オブジェクトは、グローバル スコープでですが、このプラグインによって提供される機能は、`deviceready` イベントの後まで使用できません。 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## インストール 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### Android の癖 40 | 41 | アンドロイド以外のいくつかのプラットフォームで console.log() は console.log (「1」、「2」、「3」) など、複数の引数に動作します。 しかし、アンドロイドは、最初の引数でのみ動作します。 console.log() に後続の引数は無視されます。 このプラグインが原因ではない、それは Android の自体の制限です。 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ko/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | [![Build Status](https://travis-ci.org/apache/cordova-plugin-console.svg)](https://travis-ci.org/apache/cordova-plugin-console) 23 | 24 | 이 플러그인을 console.log()로 수 유용 되도록 의미입니다. 그것은 iOS, 우분투, Windows Phone 8, 및 창에 대 한 추가 기능을 추가합니다. Console.log() 당신을 위해 작동 하는 어떻게 행복 한 경우에, 그때 당신은 아마 필요 하지 않습니다이 플러그인. 25 | 26 | 이 플러그인 글로벌 `console` 개체를 정의합니다. 27 | 28 | 개체가 전역 범위에 있지만,이 플러그인에 의해 제공 되는 기능 하지 사용할 수 있습니다까지 `deviceready` 이벤트 후. 29 | 30 | document.addEventListener("deviceready", onDeviceReady, false); 31 | function onDeviceReady() { 32 | console.log("console.log works well"); 33 | } 34 | 35 | 36 | ## 설치 37 | 38 | cordova plugin add cordova-plugin-console 39 | 40 | 41 | ### 안 드 로이드 단점 42 | 43 | 안 드 로이드 이외의 일부 플랫폼에서 console.log() console.log ("1", "2", "3")와 같이 여러 인수에 작동할 것 이다. 그러나, 안 드 로이드는 첫 번째 인수에만 작동할 것 이다. Console.log() 후속 인수는 무시 됩니다. 이 플러그인의 원인이 되지 않습니다, 그리고 그것은 안 드 로이드 자체의 한계입니다. -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ko/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | 이 플러그인을 console.log()로 수 유용 되도록 의미입니다. IOS, 우분투, Windows Phone 8 및 윈도우 8에 대 한 추가 기능을 추가 하 고 합니다. Console.log() 당신을 위해 작동 하는 어떻게 행복 한 경우에, 그때 당신은 아마 필요 하지 않습니다이 플러그인. 23 | 24 | 이 플러그인 글로벌 `console` 개체를 정의합니다. 25 | 26 | 개체가 전역 범위에 있지만,이 플러그인에 의해 제공 되는 기능 하지 사용할 수 있습니다까지 `deviceready` 이벤트 후. 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## 설치 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### 안 드 로이드 단점 40 | 41 | 안 드 로이드 이외의 일부 플랫폼에서 console.log() console.log ("1", "2", "3")와 같이 여러 인수에 작동할 것 이다. 그러나, 안 드 로이드는 첫 번째 인수에만 작동할 것 이다. Console.log() 후속 인수는 무시 됩니다. 이 플러그인의 원인이 되지 않습니다, 그리고 그것은 안 드 로이드 자체의 한계입니다. 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ru/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | Этот плагин предназначен для обеспечения как полезным, поскольку это может быть что console.log(). Он добавляет дополнительные функции для iOS, Ubuntu, Windows Phone 8 и Windows 8. Если вы не довольны как console.log() работает для вас, то вы вероятно не нужен этот плагин. 23 | 24 | ## Установка 25 | 26 | cordova plugin add cordova-plugin-console 27 | 28 | 29 | ### Особенности Android 30 | 31 | На некоторых платформах, отличных от Android console.log() будет действовать на нескольких аргументов, например console.log («1», «2», «3»). Тем не менее Android будет действовать только на первого аргумента. Последующие аргументы для console.log() будет игнорироваться. Этот плагин не является причиной этого, это ограничение Android сам. 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/zh/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | [![Build Status](https://travis-ci.org/apache/cordova-plugin-console.svg)](https://travis-ci.org/apache/cordova-plugin-console) 23 | 24 | 這個外掛程式是為了確保該 console.log() 是一樣有用,它可以是。 它將添加附加功能的 iOS,Ubuntu,Windows Phone 8 和視窗。 如果你是快樂與 console.log() 是如何為你工作,那麼可能不需要這個外掛程式。 25 | 26 | 這個外掛程式定義了一個全域 `console` 物件。 27 | 28 | 儘管物件是在全球範圍內,提供這個外掛程式的功能不可用直到 `deviceready` 事件之後。 29 | 30 | document.addEventListener("deviceready", onDeviceReady, false); 31 | function onDeviceReady() { 32 | console.log("console.log works well"); 33 | } 34 | 35 | 36 | ## 安裝 37 | 38 | cordova plugin add cordova-plugin-console 39 | 40 | 41 | ### Android 的怪癖 42 | 43 | 在一些平臺上除了 Android,console.log() 亦會根據多個參數,如 console.log ("1"、"2"、"3")。 然而,安卓系統只亦會根據第一個參數。 對 console.log() 的後續參數將被忽略。 這個外掛程式不是的原因,它是一個 android 作業系統本身的限制。 -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/zh/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | 這個外掛程式是為了確保該 console.log() 是一樣有用,它可以是。 它將添加附加功能的 iOS、 Ubuntu,Windows Phone 8 和 Windows 8。 如果你是快樂與 console.log() 是如何為你工作,那麼可能不需要這個外掛程式。 23 | 24 | 這個外掛程式定義了一個全域 `console` 物件。 25 | 26 | 儘管物件是在全球範圍內,提供這個外掛程式的功能不可用直到 `deviceready` 事件之後。 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## 安裝 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### Android 的怪癖 40 | 41 | 在一些平臺上除了 Android,console.log() 亦會根據多個參數,如 console.log ("1"、"2"、"3")。 然而,安卓系統只亦會根據第一個參數。 對 console.log() 的後續參數將被忽略。 這個外掛程式不是的原因,它是一個 android 作業系統本身的限制。 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-console", 3 | "version": "1.0.5", 4 | "description": "Cordova Console Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-console", 7 | "platforms": [ 8 | "ios", 9 | "ubuntu", 10 | "wp7", 11 | "wp8", 12 | "windows8", 13 | "windows" 14 | ] 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/apache/cordova-plugin-console" 19 | }, 20 | "keywords": [ 21 | "cordova", 22 | "console", 23 | "ecosystem:cordova", 24 | "cordova-ios", 25 | "cordova-ubuntu", 26 | "cordova-wp7", 27 | "cordova-wp8", 28 | "cordova-windows8", 29 | "cordova-windows" 30 | ], 31 | "scripts": { 32 | "test": "npm run jshint", 33 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 34 | }, 35 | "author": "Apache Software Foundation", 36 | "license": "Apache-2.0", 37 | "engines": { 38 | "cordovaDependencies": { 39 | "2.0.0": { 40 | "cordova": ">100" 41 | } 42 | } 43 | }, 44 | "devDependencies": { 45 | "jshint": "^2.6.0" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ios/CDVLogger.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVLogger : CDVPlugin 23 | 24 | - (void)logLevel:(CDVInvokedUrlCommand*)command; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ios/CDVLogger.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVLogger.h" 21 | #import 22 | 23 | @implementation CDVLogger 24 | 25 | /* log a message */ 26 | - (void)logLevel:(CDVInvokedUrlCommand*)command 27 | { 28 | id level = [command argumentAtIndex:0]; 29 | id message = [command argumentAtIndex:1]; 30 | 31 | if ([level isEqualToString:@"LOG"]) { 32 | NSLog(@"%@", message); 33 | } else { 34 | NSLog(@"%@: %@", level, message); 35 | } 36 | } 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ubuntu/console.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #include "console.h" 16 | 17 | #include 18 | 19 | Console::Console(Cordova *cordova) : CPlugin(cordova) { 20 | } 21 | 22 | void Console::logLevel(int scId, int ecId, QString level, QString message) { 23 | Q_UNUSED(scId) 24 | Q_UNUSED(ecId) 25 | 26 | if (level != "LOG") 27 | std::cout << "[" << level.toStdString() << "] "; 28 | std::cout << message.toStdString() << std::endl; 29 | } 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ubuntu/console.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #ifndef CONSOLE_H_FDSVCXGFRS 16 | #define CONSOLE_H_FDSVCXGFRS 17 | 18 | #include 19 | 20 | #include 21 | 22 | class Console : public CPlugin { 23 | Q_OBJECT 24 | public: 25 | explicit Console(Cordova *cordova); 26 | 27 | virtual const QString fullName() override { 28 | return Console::fullID(); 29 | } 30 | 31 | virtual const QString shortName() override { 32 | return "Console"; 33 | } 34 | 35 | static const QString fullID() { 36 | return "Console"; 37 | } 38 | 39 | public slots: 40 | void logLevel(int scId, int ecId, QString level, QString message); 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/wp/DebugConsole.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | 8 | Unless required by applicable law or agreed to in writing, software 9 | distributed under the License is distributed on an "AS IS" BASIS, 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | See the License for the specific language governing permissions and 12 | limitations under the License. 13 | */ 14 | 15 | using System; 16 | using System.Net; 17 | using System.Windows; 18 | using System.Windows.Controls; 19 | using System.Windows.Documents; 20 | using System.Windows.Ink; 21 | using System.Windows.Input; 22 | using System.Windows.Media; 23 | using System.Windows.Media.Animation; 24 | using System.Windows.Shapes; 25 | using System.Diagnostics; 26 | 27 | namespace WPCordovaClassLib.Cordova.Commands 28 | { 29 | public class DebugConsole : BaseCommand 30 | { 31 | public void logLevel(string options) 32 | { 33 | string[] args = JSON.JsonHelper.Deserialize(options); 34 | string level = args[0]; 35 | string msg = args[1]; 36 | 37 | if (level.Equals("LOG")) 38 | { 39 | Debug.WriteLine(msg); 40 | } 41 | else 42 | { 43 | Debug.WriteLine(level + ": " + msg); 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Console Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/tests/tests.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | /* jshint jasmine: true */ 23 | 24 | exports.defineAutoTests = function () { 25 | describe("Console", function () { 26 | it("console.spec.1 should exist", function() { 27 | expect(window.console).toBeDefined(); 28 | }); 29 | 30 | it("console.spec.2 has required methods log|warn|error", function(){ 31 | expect(window.console.log).toBeDefined(); 32 | expect(typeof window.console.log).toBe('function'); 33 | 34 | expect(window.console.warn).toBeDefined(); 35 | expect(typeof window.console.warn).toBe('function'); 36 | 37 | expect(window.console.error).toBeDefined(); 38 | expect(typeof window.console.error).toBe('function'); 39 | }); 40 | }); 41 | }; 42 | 43 | exports.defineManualTests = function (contentEl, createActionButton) {}; 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2014 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org) 6 | 7 | This software includes software developed at Intel Corporation. 8 | Copyright 2014 Intel Corporation 9 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/PlatformScriptsWorkflow.md: -------------------------------------------------------------------------------- 1 | ### Directions for Non-CLI Android-Only cordova project 2 | 3 | * Pull down the Cordova Android 4 | ``` 5 | $ git clone https://github.com/apache/cordova-android.git 6 | ``` 7 | * Generate a project, e.g creating HelloWorld 8 | ``` 9 | $ /path/to/cordova-android/bin/create hello com.example.hello HelloWorld 10 | ``` 11 | * Navigate to the project folder 12 | ``` 13 | $ cd hello 14 | ``` 15 | * Install Crosswalk engine plugin by plugman (version >= 0.22.17) 16 | ``` 17 | $ plugman install --platform android --plugin https://github.com/MobileChromeApps/cordova-crosswalk-engine.git --project . 18 | ``` 19 | * Build 20 | ``` 21 | $ ./cordova/build 22 | ``` 23 | The build script will automatically fetch the Crosswalk WebView libraries from Crosswalk project download site (https://download.01.org/crosswalk/releases/crosswalk/android/) and build for both X86 and ARM architectures. 24 | 25 | For example, building HelloWorld generates: 26 | 27 | ``` 28 | /path/to/hello/build/outputs/apk/hello-x86-debug.apk 29 | /path/to/hello/build/outputs/apk/hello-armv7-debug.apk 30 | ``` 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/hooks/after_build/000-build_64_bit.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | module.exports = function(context) { 4 | 5 | /** @external */ 6 | var deferral = context.requireCordovaModule('q').defer(), 7 | UpdateConfig = require('./../update_config.js'), 8 | updateConfig = new UpdateConfig(context); 9 | 10 | /** Main method */ 11 | var main = function() { 12 | // Remove the xwalk variables 13 | updateConfig.afterBuild64bit(); 14 | 15 | deferral.resolve(); 16 | }; 17 | 18 | main(); 19 | 20 | return deferral.promise; 21 | 22 | }; 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/hooks/after_plugin_install/000-shared_mode_special.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | module.exports = function(context) { 4 | 5 | /** @external */ 6 | var deferral = context.requireCordovaModule('q').defer(), 7 | UpdateConfig = require('./../update_config.js'), 8 | updateConfig = new UpdateConfig(context); 9 | 10 | /** Main method */ 11 | var main = function() { 12 | // Add xwalk preference to config.xml 13 | updateConfig.addPreferences(); 14 | 15 | deferral.resolve(); 16 | }; 17 | 18 | main(); 19 | 20 | return deferral.promise; 21 | 22 | }; 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/hooks/before_build/000-build_64_bit.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | module.exports = function(context) { 4 | 5 | /** @external */ 6 | var deferral = context.requireCordovaModule('q').defer(), 7 | UpdateConfig = require('./../update_config.js'), 8 | updateConfig = new UpdateConfig(context); 9 | 10 | /** Main method */ 11 | var main = function() { 12 | // Remove the xwalk variables 13 | updateConfig.beforeBuild64bit(); 14 | 15 | deferral.resolve(); 16 | }; 17 | 18 | main(); 19 | 20 | return deferral.promise; 21 | 22 | }; 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/hooks/before_plugin_uninstall/000-shared_mode_special.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | module.exports = function(context) { 4 | 5 | /** @external */ 6 | var deferral = context.requireCordovaModule('q').defer(), 7 | UpdateConfig = require('./../update_config.js'), 8 | updateConfig = new UpdateConfig(context); 9 | 10 | /** Main method */ 11 | var main = function() { 12 | // Remove the xwalk variables 13 | updateConfig.removePreferences(); 14 | 15 | deferral.resolve(); 16 | }; 17 | 18 | main(); 19 | 20 | return deferral.promise; 21 | 22 | }; 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-crosswalk-webview/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-crosswalk-webview", 3 | "version": "2.2.0", 4 | "description": "Changes the default WebView to CrossWalk", 5 | "cordova": { 6 | "id": "cordova-plugin-crosswalk-webview", 7 | "platforms": [ 8 | "android" 9 | ] 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview.git" 14 | }, 15 | "keywords": [ 16 | "cordova", 17 | "chromium", 18 | "crosswalk", 19 | "webview", 20 | "engine", 21 | "ecosystem:cordova", 22 | "cordova-android" 23 | ], 24 | "engines": { 25 | "cordovaDependencies": { 26 | "2.0.0": { 27 | "cordova": ">=5.2.0", 28 | "cordova-android": "4 - 5" 29 | }, 30 | "2.1.0": { 31 | "cordova": ">=5.2.0", 32 | "cordova-android": "4 - 5" 33 | }, 34 | "2.2.0": { 35 | "cordova": ">=5.2.0", 36 | "cordova-android": ">=6" 37 | }, 38 | "3.0.0": { 39 | "cordova": ">100" 40 | } 41 | } 42 | }, 43 | "author": "", 44 | "license": "Apache 2.0", 45 | "bugs": { 46 | "url": "https://crosswalk-project.org/jira" 47 | }, 48 | "homepage": "https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview" 49 | } 50 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-device", 3 | "version": "1.1.4", 4 | "description": "Cordova Device Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-device", 7 | "platforms": [ 8 | "firefoxos", 9 | "tizen", 10 | "android", 11 | "amazon-fireos", 12 | "ubuntu", 13 | "ios", 14 | "blackberry10", 15 | "wp7", 16 | "wp8", 17 | "windows8", 18 | "windows", 19 | "browser", 20 | "osx" 21 | ] 22 | }, 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/apache/cordova-plugin-device" 26 | }, 27 | "keywords": [ 28 | "cordova", 29 | "device", 30 | "ecosystem:cordova", 31 | "cordova-firefoxos", 32 | "cordova-tizen", 33 | "cordova-android", 34 | "cordova-amazon-fireos", 35 | "cordova-ubuntu", 36 | "cordova-ios", 37 | "cordova-blackberry10", 38 | "cordova-wp7", 39 | "cordova-wp8", 40 | "cordova-windows8", 41 | "cordova-windows", 42 | "cordova-browser", 43 | "cordova-osx" 44 | ], 45 | "scripts": { 46 | "test": "npm run jshint", 47 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 48 | }, 49 | "author": "Apache Software Foundation", 50 | "license": "Apache-2.0", 51 | "engines": { 52 | "cordovaDependencies": { 53 | "2.0.0": { 54 | "cordova": ">100" 55 | } 56 | } 57 | }, 58 | "devDependencies": { 59 | "jshint": "^2.6.0" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/ios/CDVDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | @interface CDVDevice : CDVPlugin 24 | {} 25 | 26 | + (NSString*)cordovaVersion; 27 | 28 | - (void)getDeviceInfo:(CDVInvokedUrlCommand*)command; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/osx/CDVDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVDevice : CDVPlugin 23 | 24 | + (NSString*) cordovaVersion; 25 | 26 | - (void) getDeviceInfo:(CDVInvokedUrlCommand*)command; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/tizen/DeviceProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var tizen = require('cordova/platform'); 23 | 24 | module.exports = { 25 | getDeviceInfo: function(success, error) { 26 | setTimeout(function () { 27 | success({ 28 | cordova: tizen.cordovaVersion, 29 | platform: 'tizen', 30 | model: null, 31 | version: null, 32 | uuid: null 33 | }); 34 | }, 0); 35 | } 36 | }; 37 | 38 | require("cordova/tizen/commandProxy").add("Device", module.exports); 39 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/ubuntu/device.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 Wolfgang Koller - http://www.gofg.at/ 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef DEVICE_H_FDSAFAS 18 | #define DEVICE_H_FDSAFAS 19 | 20 | #include 21 | 22 | #include 23 | 24 | class Device: public CPlugin { 25 | Q_OBJECT 26 | public: 27 | explicit Device(Cordova *cordova); 28 | 29 | virtual const QString fullName() override { 30 | return Device::fullID(); 31 | } 32 | 33 | virtual const QString shortName() override { 34 | return "Device"; 35 | } 36 | 37 | static const QString fullID() { 38 | return "com.cordova.Device"; 39 | } 40 | 41 | signals: 42 | 43 | public slots: 44 | void getInfo(int scId, int ecId); 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/ubuntu/device.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | /* global Cordova */ 23 | 24 | module.exports = { 25 | getInfo:function(win,fail,args) { 26 | Cordova.exec(function (model, cordova, platform, uuid, version) { 27 | win({name: name, model: model, cordova: cordova, 28 | platform: platform, uuid: uuid, version: version}); 29 | }, null, "com.cordova.Device", "getInfo", []); 30 | } 31 | }; 32 | 33 | require("cordova/exec/proxy").add("Device", module.exports); 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Device Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-inappbrowser", 3 | "version": "1.4.0", 4 | "description": "Cordova InAppBrowser Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-inappbrowser", 7 | "platforms": [ 8 | "android", 9 | "amazon-fireos", 10 | "ubuntu", 11 | "ios", 12 | "wp7", 13 | "wp8", 14 | "windows8", 15 | "windows", 16 | "firefoxos" 17 | ] 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/apache/cordova-plugin-inappbrowser" 22 | }, 23 | "keywords": [ 24 | "cordova", 25 | "in", 26 | "app", 27 | "browser", 28 | "inappbrowser", 29 | "ecosystem:cordova", 30 | "cordova-android", 31 | "cordova-amazon-fireos", 32 | "cordova-ubuntu", 33 | "cordova-ios", 34 | "cordova-wp7", 35 | "cordova-wp8", 36 | "cordova-windows8", 37 | "cordova-windows", 38 | "cordova-firefoxos" 39 | ], 40 | "scripts": { 41 | "test": "npm run jshint", 42 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 43 | }, 44 | "engines": [ 45 | { 46 | "name": "cordova", 47 | "version": ">=3.1.0" 48 | } 49 | ], 50 | "author": "Apache Software Foundation", 51 | "license": "Apache-2.0", 52 | "devDependencies": { 53 | "jshint": "^2.6.0" 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-hdpi/ic_action_next_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-hdpi/ic_action_next_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-hdpi/ic_action_previous_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-hdpi/ic_action_previous_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-hdpi/ic_action_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-hdpi/ic_action_remove.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-mdpi/ic_action_next_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-mdpi/ic_action_next_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-mdpi/ic_action_previous_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-mdpi/ic_action_previous_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-mdpi/ic_action_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-mdpi/ic_action_remove.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xhdpi/ic_action_next_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xhdpi/ic_action_next_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xhdpi/ic_action_previous_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xhdpi/ic_action_previous_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xhdpi/ic_action_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xhdpi/ic_action_remove.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xxhdpi/ic_action_next_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xxhdpi/ic_action_next_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xxhdpi/ic_action_previous_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xxhdpi/ic_action_previous_item.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xxhdpi/ic_action_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/android/res/drawable-xxhdpi/ic_action_remove.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/ubuntu/InAppBrowser_escapeScript.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | /* jshint -W061 */ 23 | /* global oxide */ 24 | 25 | oxide.addMessageHandler("EXECUTE", function(msg) { 26 | var code = msg.args.code; 27 | try { 28 | msg.reply({result: eval(code)}); 29 | } catch(e) { 30 | msg.error("Code threw exception: \"" + e + "\""); 31 | } 32 | }); 33 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/src/ubuntu/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/src/ubuntu/close.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | Cordova InAppBrowser Plugin Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/tests/resources/inject.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | #style-update-file { 20 | display: block !important; 21 | } 22 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/tests/resources/inject.html: -------------------------------------------------------------------------------- 1 | 2 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Cordova Mobile Spec 29 | 30 | 31 | 32 |

InAppBrowser - Script / Style Injection Test

33 | 34 | 35 |
User-Agent:
36 | 37 | 44 | 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/tests/resources/inject.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | var d = document.getElementById("header"); 20 | d.innerHTML = "Script file successfully injected"; 21 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/tests/resources/local.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/cordova-plugin-inappbrowser/tests/resources/local.pdf -------------------------------------------------------------------------------- /plugins/cordova-plugin-inappbrowser/tests/resources/video.html: -------------------------------------------------------------------------------- 1 | 2 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Cordova Mobile Spec 29 | 30 | 31 | 32 | 37 |
38 | 39 | 40 |
41 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen", 3 | "version": "4.0.1", 4 | "description": "Cordova Splashscreen Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-splashscreen", 7 | "platforms": [ 8 | "android", 9 | "amazon-fireos", 10 | "ubuntu", 11 | "ios", 12 | "blackberry10", 13 | "wp8", 14 | "windows8", 15 | "windows", 16 | "tizen" 17 | ] 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/apache/cordova-plugin-splashscreen" 22 | }, 23 | "keywords": [ 24 | "cordova", 25 | "splashscreen", 26 | "ecosystem:cordova", 27 | "cordova-android", 28 | "cordova-amazon-fireos", 29 | "cordova-ubuntu", 30 | "cordova-ios", 31 | "cordova-blackberry10", 32 | "cordova-wp8", 33 | "cordova-windows8", 34 | "cordova-windows", 35 | "cordova-tizen" 36 | ], 37 | "scripts": { 38 | "test": "npm run jshint", 39 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 40 | }, 41 | "engines": { 42 | "cordovaDependencies": { 43 | "2.0.0": { 44 | "cordova-android": ">=3.6.0" 45 | }, 46 | "4.0.0": { 47 | "cordova-android": ">=3.6.0", 48 | "cordova-windows": ">=4.4.0" 49 | }, 50 | "5.0.0": { 51 | "cordova": ">100" 52 | } 53 | } 54 | }, 55 | "author": "Apache Software Foundation", 56 | "license": "Apache-2.0", 57 | "devDependencies": { 58 | "jshint": "^2.6.0" 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/blackberry10/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 Research In Motion Limited. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* global PluginResult */ 18 | 19 | module.exports = { 20 | show: function (success, fail, args, env) { 21 | var result = new PluginResult(args, env); 22 | result.error("Not supported on platform", false); 23 | }, 24 | 25 | hide: function (success, fail, args, env) { 26 | var result = new PluginResult(args, env); 27 | window.qnx.webplatform.getApplication().windowVisible = true; 28 | result.ok(undefined, false); 29 | } 30 | }; 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | typedef struct { 24 | BOOL iPhone; 25 | BOOL iPad; 26 | BOOL iPhone4; 27 | BOOL iPhone5; 28 | BOOL iPhone6; 29 | BOOL iPhone6Plus; 30 | BOOL retina; 31 | 32 | } CDV_iOSDevice; 33 | 34 | @interface CDVSplashScreen : CDVPlugin { 35 | UIActivityIndicatorView* _activityView; 36 | UIImageView* _imageView; 37 | NSString* _curImageName; 38 | BOOL _visible; 39 | BOOL _destroyed; 40 | } 41 | 42 | - (void)show:(CDVInvokedUrlCommand*)command; 43 | - (void)hide:(CDVInvokedUrlCommand*)command; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ios/CDVViewController+SplashScreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVViewController (SplashScreen) 23 | 24 | @property (nonatomic, assign) BOOL enabledAutorotation; 25 | @property (nonatomic, readonly) BOOL shouldAutorotateDefaultValue; 26 | 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/tizen/SplashScreenProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | ( function() { 23 | 24 | var win = null; 25 | 26 | module.exports = { 27 | show: function() { 28 | if ( win === null ) { 29 | win = window.open('splashscreen.html'); 30 | } 31 | }, 32 | 33 | hide: function() { 34 | if ( win !== null ) { 35 | win.close(); 36 | win = null; 37 | } 38 | } 39 | }; 40 | 41 | require("cordova/tizen/commandProxy").add("SplashScreen", module.exports); 42 | 43 | })(); 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #include 25 | 26 | #include "splashscreen.h" 27 | #include 28 | 29 | #define SPLASHSCREEN_STATE_NAME "splashscreen" 30 | 31 | Splashscreen::Splashscreen(Cordova *cordova): CPlugin(cordova) { 32 | } 33 | 34 | void Splashscreen::show(int, int) { 35 | m_cordova->rootObject()->setProperty("splashscreenPath", m_cordova->getSplashscreenPath()); 36 | 37 | m_cordova->pushViewState(SPLASHSCREEN_STATE_NAME); 38 | } 39 | 40 | void Splashscreen::hide(int, int) { 41 | m_cordova->popViewState(SPLASHSCREEN_STATE_NAME); 42 | } 43 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #ifndef SPLASHSCREEN_H 25 | #define SPLASHSCREEN_H 26 | 27 | #include 28 | #include 29 | 30 | class Splashscreen: public CPlugin { 31 | Q_OBJECT 32 | public: 33 | explicit Splashscreen(Cordova *cordova); 34 | 35 | virtual const QString fullName() override { 36 | return Splashscreen::fullID(); 37 | } 38 | 39 | virtual const QString shortName() override { 40 | return "SplashScreen"; 41 | } 42 | 43 | static const QString fullID() { 44 | return "SplashScreen"; 45 | } 46 | 47 | public slots: 48 | void show(int, int); 49 | void hide(int, int); 50 | }; 51 | 52 | #endif // SPLASHSCREEN_H 53 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | 8 | Unless required by applicable law or agreed to in writing, software 9 | distributed under the License is distributed on an "AS IS" BASIS, 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | See the License for the specific language governing permissions and 12 | limitations under the License. 13 | */ 14 | 15 | using Microsoft.Phone.Info; 16 | using System; 17 | using System.Windows; 18 | 19 | namespace WPCordovaClassLib.Cordova.Commands 20 | { 21 | public enum Resolutions { WVGA, WXGA, HD }; 22 | 23 | public static class ResolutionHelper 24 | { 25 | public static Resolutions CurrentResolution 26 | { 27 | get 28 | { 29 | switch (Application.Current.Host.Content.ScaleFactor) 30 | { 31 | case 100: return Resolutions.WVGA; 32 | case 160: return Resolutions.WXGA; 33 | case 150: return Resolutions.HD; 34 | } 35 | throw new InvalidOperationException("Unknown resolution"); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest.xcworkspace/xcshareddata/CDVSplashScreenTest.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 6BE9AD73-1B9F-4362-98D7-DC631BEC6185 9 | IDESourceControlProjectName 10 | CDVSplashScreenTest 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | BEF5A5D0FF64801E558286389440357A9233D7DB 14 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git 15 | 16 | IDESourceControlProjectPath 17 | tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | BEF5A5D0FF64801E558286389440357A9233D7DB 21 | ../../../../.. 22 | 23 | IDESourceControlProjectURL 24 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | BEF5A5D0FF64801E558286389440357A9233D7DB 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | BEF5A5D0FF64801E558286389440357A9233D7DB 36 | IDESourceControlWCCName 37 | cordova-plugin-splashscreen 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/.npmignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 23 | 24 | 25 | CFBundleDevelopmentRegion 26 | en 27 | CFBundleExecutable 28 | $(EXECUTABLE_NAME) 29 | CFBundleIdentifier 30 | org.apache.cordova.$(PRODUCT_NAME:rfc1034identifier) 31 | CFBundleInfoDictionaryVersion 32 | 6.0 33 | CFBundleName 34 | $(PRODUCT_NAME) 35 | CFBundlePackageType 36 | BNDL 37 | CFBundleShortVersionString 38 | 1.0 39 | CFBundleSignature 40 | ???? 41 | CFBundleVersion 42 | 1 43 | 44 | 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj/project.xcworkspace/xcshareddata/CDVSplashScreenTest.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 6BE9AD73-1B9F-4362-98D7-DC631BEC6185 9 | IDESourceControlProjectName 10 | CDVSplashScreenTest 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | BEF5A5D0FF64801E558286389440357A9233D7DB 14 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git 15 | 16 | IDESourceControlProjectPath 17 | tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | BEF5A5D0FF64801E558286389440357A9233D7DB 21 | ../../../../.. 22 | 23 | IDESourceControlProjectURL 24 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | BEF5A5D0FF64801E558286389440357A9233D7DB 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | BEF5A5D0FF64801E558286389440357A9233D7DB 36 | IDESourceControlWCCName 37 | cordova-plugin-splashscreen 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS Tests for CDVSplashScreen 21 | 22 | You need to install `node.js` to pull in `cordova-ios`. 23 | 24 | First install cordova-ios: 25 | 26 | npm install 27 | 28 | ... in the current folder. 29 | 30 | 31 | # Testing from Xcode 32 | 33 | 1. Launch the `CDVSplashScreenTest.xcworkspace` file. 34 | 2. Choose "CDVSplashScreenLibTests" from the scheme drop-down menu 35 | 3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests 36 | 37 | 38 | # Testing from the command line 39 | 40 | npm test 41 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/de/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS-Tests für CDVSplashScreen 21 | 22 | Sie müssen installieren `node.js` in `Cordova-Ios` zu ziehen. 23 | 24 | Installieren Sie Cordova-Ios zum ersten Mal: 25 | 26 | npm install 27 | 28 | 29 | ... im aktuellen Ordner. 30 | 31 | # Testen von Xcode 32 | 33 | 1. Starten Sie die Datei `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wählen Sie im Dropdown-Schema "CDVSplashScreenLibTests" 35 | 3. Klicken Sie und halten Sie auf den `Play` -Button und wählen Sie das `Schraubenschlüssel` -Symbol zum Ausführen der tests 36 | 37 | # Tests von der Befehlszeile aus 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/es/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Pruebas de iOS para CDVSplashScreen 21 | 22 | Necesita instalar `node.js` en `Córdoba-ios`. 23 | 24 | Primero instalar cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... en la carpeta actual. 30 | 31 | # Prueba de Xcode 32 | 33 | 1. Iniciar el archivo `CDVSplashScreenTest.xcworkspace` . 34 | 2. Elija "CDVSplashScreenLibTests" en el menú de lista desplegable esquema 35 | 3. Haga clic y mantenga el botón de `Play` y elegir el icono de `llave inglesa` para ejecutar las pruebas 36 | 37 | # Pruebas desde la línea de comandos 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/fr/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Tests d'iOS pour CDVSplashScreen 21 | 22 | Vous devez installer `node.js` à `cordova-ios`. 23 | 24 | Commencez par installer cordova-ios : 25 | 26 | npm install 27 | 28 | 29 | ... dans le dossier actuel. 30 | 31 | # Tests de Xcode 32 | 33 | 1. Lancez le fichier `CDVSplashScreenTest.xcworkspace` . 34 | 2. Choisissez « CDVSplashScreenLibTests » dans le menu déroulant de régime 35 | 3. Cliquez et maintenez sur la touche `Play` et cliquez sur l'icône de `clé` pour exécuter les tests 36 | 37 | # Test de la ligne de commande 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/it/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Test di iOS per CDVSplashScreen 21 | 22 | È necessario installare `node. js` per tirare in `cordova-ios`. 23 | 24 | In primo luogo installare cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... nella cartella corrente. 30 | 31 | # Test da Xcode 32 | 33 | 1. Lanciare il file `CDVSplashScreenTest.xcworkspace` . 34 | 2. Scegli "CDVSplashScreenLibTests" dal menu a discesa Schema 35 | 3. Fare clic e tenere premuto il pulsante `Play` e scegliere l'icona della `chiave inglese` per eseguire i test 36 | 37 | # Test dalla riga di comando 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/ja/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen の iOS のテスト 21 | 22 | `Node.js` `コルドバ`ios をプルするをインストールする必要があります。. 23 | 24 | コルドバ ios をインストールします。 25 | 26 | npm install 27 | 28 | 29 | 現在のフォルダーに. 30 | 31 | # Xcode からテスト 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace`ファイルを起動します。 34 | 2. スキーム] ドロップダウン メニューから"CDVSplashScreenLibTests"を選択します。 35 | 3. クリックし、`再生`ボタンを押し、テストを実行する`レンチ`のアイコンを選択 36 | 37 | # コマンドラインからテスト 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/ko/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen에 대 한 iOS 테스트 21 | 22 | `Node.js` `코르도바` ios에서를 설치 해야. 23 | 24 | 코르도바-ios를 설치 하는 첫번째는: 25 | 26 | npm install 27 | 28 | 29 | 현재 폴더에.... 30 | 31 | # Xcode에서 테스트 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace` 파일을 시작 합니다. 34 | 2. 구성표 드롭 다운 메뉴에서 "CDVSplashScreenLibTests"를 선택 35 | 3. 클릭 하 고 `재생` 버튼에는 테스트를 실행 하려면 `공구 모양` 아이콘을 선택 36 | 37 | # 명령줄에서 테스트 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/pl/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS testy dla CDVSplashScreen 21 | 22 | Musisz zainstalować `node.js` ciągnąć w `cordova-ios`. 23 | 24 | Najpierw zainstalować cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... w folderze bieżącym. 30 | 31 | # Badania z Xcode 32 | 33 | 1. Uruchom plik `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wybierz z menu rozwijanego systemu "CDVSplashScreenLibTests" 35 | 3. Kliknij i przytrzymaj przycisk `Play` i wybrać ikonę `klucz` do testów 36 | 37 | # Badania z wiersza polecenia 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/zh/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen 的 iOS 測試 21 | 22 | 您需要安裝`node.js`拉`科爾多瓦 ios`中. 23 | 24 | 第一次安裝科爾多瓦 ios: 25 | 26 | npm install 27 | 28 | 29 | 在當前資料夾中。 30 | 31 | # 從 Xcode 測試 32 | 33 | 1. 啟動`CDVSplashScreenTest.xcworkspace`檔。 34 | 2. 從方案下拉式功能表中選擇"CDVSplashScreenLibTests" 35 | 3. 按一下並堅持`播放`按鈕,然後選擇要運行的測試的`扳手`圖示 36 | 37 | # 從命令列測試 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen-test-ios", 3 | "version": "1.0.0", 4 | "description": "iOS Unit Tests for Splashscreen Plugin", 5 | "author": "Apache Software Foundation", 6 | "license": "Apache Version 2.0", 7 | "dependencies": { 8 | "cordova-ios": "*" 9 | }, 10 | "scripts": { 11 | "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp' HEADER_SEARCH_PATHS='$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include'" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | Cordova Splashscreen Plugin Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/www/splashscreen.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var exec = require('cordova/exec'); 23 | 24 | var splashscreen = { 25 | show:function() { 26 | exec(null, null, "SplashScreen", "show", []); 27 | }, 28 | hide:function() { 29 | exec(null, null, "SplashScreen", "hide", []); 30 | } 31 | }; 32 | 33 | module.exports = splashscreen; 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/www/windows/SplashScreenProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | /*jslint sloppy:true */ 23 | 24 | var splash = require('cordova/splashscreen'); 25 | 26 | var SplashScreen = { 27 | show: function () { 28 | splash.show(); 29 | }, 30 | hide: function () { 31 | splash.hide(); 32 | } 33 | }; 34 | 35 | module.exports = SplashScreen; 36 | 37 | require("cordova/exec/proxy").add("SplashScreen", SplashScreen); 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-statusbar", 3 | "version": "2.2.1", 4 | "description": "Cordova StatusBar Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-statusbar", 7 | "platforms": [ 8 | "android", 9 | "ios", 10 | "wp7", 11 | "wp8", 12 | "windows" 13 | ] 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "https://github.com/apache/cordova-plugin-statusbar" 18 | }, 19 | "keywords": [ 20 | "cordova", 21 | "statusbar", 22 | "ecosystem:cordova", 23 | "cordova-android", 24 | "cordova-ios", 25 | "cordova-wp7", 26 | "cordova-wp8", 27 | "cordova-windows" 28 | ], 29 | "scripts": { 30 | "test": "npm run jshint", 31 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 32 | }, 33 | "engines": { 34 | "cordovaDependencies": { 35 | "0.1.0": { 36 | "cordova": ">=3.0.0" 37 | }, 38 | "3.0.0": { 39 | "cordova": ">100" 40 | } 41 | } 42 | }, 43 | "author": "Apache Software Foundation", 44 | "license": "Apache-2.0", 45 | "devDependencies": { 46 | "jshint": "^2.6.0" 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/src/browser/StatusBarProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | * 19 | */ 20 | 21 | function notSupported(win,fail) { 22 | // 23 | console.log('StatusBar is not supported'); 24 | setTimeout(function(){ 25 | win(); 26 | // note that while it is not explicitly supported, it does not fail 27 | // this is really just here to allow developers to test their code in the browser 28 | // and if we fail, then their app might as well. -jm 29 | },0); 30 | } 31 | 32 | module.exports = { 33 | isVisible: false, 34 | styleBlackTranslucent:notSupported, 35 | styleDefault:notSupported, 36 | styleLightContent:notSupported, 37 | styleBlackOpaque:notSupported, 38 | overlaysWebView:notSupported, 39 | styleLightContect: notSupported, 40 | backgroundColorByName: notSupported, 41 | backgroundColorByHexString: notSupported, 42 | hide: notSupported, 43 | show: notSupported, 44 | _ready:notSupported 45 | }; 46 | 47 | require("cordova/exec/proxy").add("StatusBar", module.exports); 48 | 49 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/src/ios/CDVStatusBar.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | @interface CDVStatusBar : CDVPlugin { 24 | @protected 25 | BOOL _statusBarOverlaysWebView; 26 | UIView* _statusBarBackgroundView; 27 | BOOL _uiviewControllerBasedStatusBarAppearance; 28 | UIColor* _statusBarBackgroundColor; 29 | NSString* _eventsCallbackId; 30 | } 31 | 32 | @property (atomic, assign) BOOL statusBarOverlaysWebView; 33 | 34 | - (void) overlaysWebView:(CDVInvokedUrlCommand*)command; 35 | 36 | - (void) styleDefault:(CDVInvokedUrlCommand*)command; 37 | - (void) styleLightContent:(CDVInvokedUrlCommand*)command; 38 | - (void) styleBlackTranslucent:(CDVInvokedUrlCommand*)command; 39 | - (void) styleBlackOpaque:(CDVInvokedUrlCommand*)command; 40 | 41 | - (void) backgroundColorByName:(CDVInvokedUrlCommand*)command; 42 | - (void) backgroundColorByHexString:(CDVInvokedUrlCommand*)command; 43 | 44 | - (void) hide:(CDVInvokedUrlCommand*)command; 45 | - (void) show:(CDVInvokedUrlCommand*)command; 46 | 47 | - (void) _ready:(CDVInvokedUrlCommand*)command; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova StatusBar Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-whitelist", 3 | "version": "1.3.1", 4 | "description": "Cordova Whitelist Plugin", 5 | "cordova": { 6 | "platforms": [ 7 | "android" 8 | ] 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/apache/cordova-plugin-whitelist" 13 | }, 14 | "keywords": [ 15 | "cordova", 16 | "whitelist", 17 | "ecosystem:cordova", 18 | "cordova-android" 19 | ], 20 | "engines": { 21 | "cordovaDependencies": { 22 | "0.0.0": { 23 | "cordova-android": ">=4.0.0" 24 | }, 25 | "2.0.0": { 26 | "cordova": ">100" 27 | } 28 | } 29 | }, 30 | "author": "Apache Software Foundation", 31 | "license": "Apache-2.0" 32 | } 33 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-wkwebview-engine", 3 | "version": "1.1.1-dev", 4 | "description": "The official Apache Cordova WKWebView Engine Plugin", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git" 9 | }, 10 | "keywords": [ 11 | "cordova", 12 | "wkwebview" 13 | ], 14 | "scripts": { 15 | "test": "npm run jshint && npm run objc-tests", 16 | "objc-tests": "cd tests/ios && npm test", 17 | "preobjc-tests": "cd tests/ios && npm install", 18 | "jshint": "node_modules/.bin/jshint src" 19 | }, 20 | "author": "Apache Cordova", 21 | "license": "Apache-2.0", 22 | "devDependencies": { 23 | "jshint": "^2.6.0" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/src/ios/CDVWKWebViewEngine.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | @interface CDVWKWebViewEngine : CDVPlugin 24 | 25 | @property (nonatomic, strong, readonly) id uiDelegate; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/src/ios/CDVWKWebViewUIDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVWKWebViewUIDelegate : NSObject 23 | 24 | @property (nonatomic, copy) NSString* title; 25 | 26 | - (instancetype)initWithTitle:(NSString*)title; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/src/ios/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Niklas von Hertzen 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/CDVWKWebViewEngineTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/CDVWKWebViewEngineTest.xcworkspace/xcshareddata/CDVWKWebViewEngineTest.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 6BE9AD73-1B9F-4362-98D7-DC631BEC6185 9 | IDESourceControlProjectName 10 | CDVWKWebViewEngineTest 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | BEF5A5D0FF64801E558286389440357A9233D7DB 14 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git 15 | 16 | IDESourceControlProjectPath 17 | tests/ios/CDVWKWebViewEngineTest/CDVWKWebViewEngineTest.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | BEF5A5D0FF64801E558286389440357A9233D7DB 21 | ../../../../.. 22 | 23 | IDESourceControlProjectURL 24 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | BEF5A5D0FF64801E558286389440357A9233D7DB 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | BEF5A5D0FF64801E558286389440357A9233D7DB 36 | IDESourceControlWCCName 37 | cordova-plugin-wkwebview-engine 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/CDVWKWebViewEngineTest/.gitignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/CDVWKWebViewEngineTest/CDVWKWebViewEngineLibTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 23 | 24 | 25 | CFBundleDevelopmentRegion 26 | en 27 | CFBundleExecutable 28 | $(EXECUTABLE_NAME) 29 | CFBundleIdentifier 30 | org.apache.cordova.$(PRODUCT_NAME:rfc1034identifier) 31 | CFBundleInfoDictionaryVersion 32 | 6.0 33 | CFBundleName 34 | $(PRODUCT_NAME) 35 | CFBundlePackageType 36 | BNDL 37 | CFBundleShortVersionString 38 | 1.0 39 | CFBundleSignature 40 | ???? 41 | CFBundleVersion 42 | 1 43 | 44 | 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/CDVWKWebViewEngineTest/CDVWKWebViewEngineTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/CDVWKWebViewEngineTest/CDVWKWebViewEngineTest.xcodeproj/project.xcworkspace/xcshareddata/CDVWKWebViewEngineTest.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 6BE9AD73-1B9F-4362-98D7-DC631BEC6185 9 | IDESourceControlProjectName 10 | CDVWKWebViewEngineTest 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | BEF5A5D0FF64801E558286389440357A9233D7DB 14 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git 15 | 16 | IDESourceControlProjectPath 17 | tests/ios/CDVWKWebViewEngineTest/CDVWKWebViewEngineTest.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | BEF5A5D0FF64801E558286389440357A9233D7DB 21 | ../../../../.. 22 | 23 | IDESourceControlProjectURL 24 | https://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | BEF5A5D0FF64801E558286389440357A9233D7DB 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | BEF5A5D0FF64801E558286389440357A9233D7DB 36 | IDESourceControlWCCName 37 | cordova-plugin-wkwebview-engine 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS Tests for CDVWKWebViewEngine 21 | 22 | You need to install `node.js` to pull in `cordova-ios`. 23 | 24 | First install cordova-ios: 25 | 26 | npm install 27 | 28 | ... in the current folder. 29 | 30 | 31 | # Testing from Xcode 32 | 33 | 1. Launch the `CDVWKWebViewEngineTest.xcworkspace` file. 34 | 2. Choose "CDVWKWebViewEngineLibTests" from the scheme drop-down menu 35 | 3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests 36 | 37 | 38 | # Testing from the command line 39 | 40 | npm test 41 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/ios/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-wkwebview-engine-test-ios", 3 | "version": "1.0.0", 4 | "description": "iOS Unit Tests for cordova-plugin-wkwebview-engine Plugin", 5 | "author": "Apache Software Foundation", 6 | "license": "Apache Version 2.0", 7 | "dependencies": { 8 | "cordova-ios": "*" 9 | }, 10 | "scripts": { 11 | "test": "xcodebuild test -workspace CDVWKWebViewEngineTest.xcworkspace -scheme CDVWKWebViewEngineLibTests -destination \"platform=iOS Simulator,name=iPhone 5\"" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | cordova-plugin-wkwebview-engine Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-wkwebview-engine/tests/tests.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | /* jshint jasmine: true */ 23 | 24 | exports.defineAutoTests = function () { 25 | describe('cordova-plugin-wkwebview-engine (cordova)', function () { 26 | it("cordova-plugin-wkwebview-engine.spec.1 should exist", function () { 27 | //expect(window).toBeDefined(); 28 | }); 29 | }); 30 | }; 31 | 32 | exports.defineManualTests = function (contentEl, createActionButton) { 33 | 34 | contentEl.innerHTML = 'Your HTML instructions here'; 35 | 36 | createActionButton('Do something 1', function () { 37 | // do something 1; 38 | }, 'do-something-1'); 39 | 40 | createActionButton('Do something 2', function () { 41 | // do something 2; 42 | }, 'do-something-2'); 43 | 44 | }; 45 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-plugin-keyboard", 3 | "version": "2.2.1", 4 | "cordova": { 5 | "id": "ionic-plugin-keyboard", 6 | "platforms": [ 7 | "android", 8 | "ios", 9 | "blackberry10", 10 | "wp8", 11 | "windows" 12 | ] 13 | }, 14 | "description": "Ionic Keyboard Plugin", 15 | "repository": "https://github.com/driftyco/ionic-plugin-keyboard.git", 16 | "issue": "https://github.com/driftyco/ionic-plugin-keyboard/issues", 17 | "keywords": [ 18 | "ionic", 19 | "cordova", 20 | "keyboard", 21 | "ecosystem:cordova", 22 | "cordova-android", 23 | "cordova-ios", 24 | "cordova-blackberry10", 25 | "cordova-wp8", 26 | "cordova-windows" 27 | ], 28 | "author": "Ionic", 29 | "license": "Apache 2.0" 30 | } 31 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/libKeyboard.so -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_reader.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_reader.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_value.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_value.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_writer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_writer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/plugin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/plugin.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/tokenizer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/tokenizer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/CallKeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/CallKeyboard.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/Logger.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/Logger.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_js.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_js.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_ndk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_ndk.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/autolink.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_AUTOLINK_H_INCLUDED 2 | # define JSON_AUTOLINK_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | # ifdef JSON_IN_CPPTL 7 | # include 8 | # endif 9 | 10 | # if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && !defined(JSON_IN_CPPTL) 11 | # define CPPTL_AUTOLINK_NAME "json" 12 | # undef CPPTL_AUTOLINK_DLL 13 | # ifdef JSON_DLL 14 | # define CPPTL_AUTOLINK_DLL 15 | # endif 16 | # include "autolink.h" 17 | # endif 18 | 19 | #endif // JSON_AUTOLINK_H_INCLUDED 20 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/config.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_CONFIG_H_INCLUDED 2 | # define JSON_CONFIG_H_INCLUDED 3 | 4 | /// If defined, indicates that json library is embedded in CppTL library. 5 | //# define JSON_IN_CPPTL 1 6 | 7 | /// If defined, indicates that json may leverage CppTL library 8 | //# define JSON_USE_CPPTL 1 9 | /// If defined, indicates that cpptl vector based map should be used instead of std::map 10 | /// as Value container. 11 | //# define JSON_USE_CPPTL_SMALLMAP 1 12 | /// If defined, indicates that Json specific container should be used 13 | /// (hash table & simple deque container with customizable allocator). 14 | /// THIS FEATURE IS STILL EXPERIMENTAL! 15 | //# define JSON_VALUE_USE_INTERNAL_MAP 1 16 | /// Force usage of standard new/malloc based allocator instead of memory pool based allocator. 17 | /// The memory pools allocator used optimization (initializing Value and ValueInternalLink 18 | /// as if it was a POD) that may cause some validation tool to report errors. 19 | /// Only has effects if JSON_VALUE_USE_INTERNAL_MAP is defined. 20 | //# define JSON_USE_SIMPLE_INTERNAL_ALLOCATOR 1 21 | 22 | /// If defined, indicates that Json use exception to report invalid type manipulation 23 | /// instead of C assert macro. 24 | # define JSON_USE_EXCEPTION 1 25 | 26 | # ifdef JSON_IN_CPPTL 27 | # include 28 | # ifndef JSON_USE_CPPTL 29 | # define JSON_USE_CPPTL 1 30 | # endif 31 | # endif 32 | 33 | # ifdef JSON_IN_CPPTL 34 | # define JSON_API CPPTL_API 35 | # elif defined(JSON_DLL_BUILD) 36 | # define JSON_API __declspec(dllexport) 37 | # elif defined(JSON_DLL) 38 | # define JSON_API __declspec(dllimport) 39 | # else 40 | # define JSON_API 41 | # endif 42 | 43 | #endif // JSON_CONFIG_H_INCLUDED 44 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/features.h: -------------------------------------------------------------------------------- 1 | #ifndef CPPTL_JSON_FEATURES_H_INCLUDED 2 | # define CPPTL_JSON_FEATURES_H_INCLUDED 3 | 4 | # include "forwards.h" 5 | 6 | namespace Json { 7 | 8 | /** \brief Configuration passed to reader and writer. 9 | * This configuration object can be used to force the Reader or Writer 10 | * to behave in a standard conforming way. 11 | */ 12 | class JSON_API Features 13 | { 14 | public: 15 | /** \brief A configuration that allows all features and assumes all strings are UTF-8. 16 | * - C & C++ comments are allowed 17 | * - Root object can be any JSON value 18 | * - Assumes Value strings are encoded in UTF-8 19 | */ 20 | static Features all(); 21 | 22 | /** \brief A configuration that is strictly compatible with the JSON specification. 23 | * - Comments are forbidden. 24 | * - Root object must be either an array or an object value. 25 | * - Assumes Value strings are encoded in UTF-8 26 | */ 27 | static Features strictMode(); 28 | 29 | /** \brief Initialize the configuration like JsonConfig::allFeatures; 30 | */ 31 | Features(); 32 | 33 | /// \c true if comments are allowed. Default: \c true. 34 | bool allowComments_; 35 | 36 | /// \c true if root must be either an array or an object value. Default: \c false. 37 | bool strictRoot_; 38 | }; 39 | 40 | } // namespace Json 41 | 42 | #endif // CPPTL_JSON_FEATURES_H_INCLUDED 43 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/forwards.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_FORWARDS_H_INCLUDED 2 | # define JSON_FORWARDS_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | namespace Json { 7 | 8 | // writer.h 9 | class FastWriter; 10 | class StyledWriter; 11 | 12 | // reader.h 13 | class Reader; 14 | 15 | // features.h 16 | class Features; 17 | 18 | // value.h 19 | typedef int Int; 20 | typedef unsigned int UInt; 21 | class StaticString; 22 | class Path; 23 | class PathArgument; 24 | class Value; 25 | class ValueIteratorBase; 26 | class ValueIterator; 27 | class ValueConstIterator; 28 | #ifdef JSON_VALUE_USE_INTERNAL_MAP 29 | class ValueAllocator; 30 | class ValueMapAllocator; 31 | class ValueInternalLink; 32 | class ValueInternalArray; 33 | class ValueInternalMap; 34 | #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP 35 | 36 | } // namespace Json 37 | 38 | 39 | #endif // JSON_FORWARDS_H_INCLUDED 40 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/json.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_JSON_H_INCLUDED 2 | # define JSON_JSON_H_INCLUDED 3 | 4 | # include "autolink.h" 5 | # include "value.h" 6 | # include "reader.h" 7 | # include "writer.h" 8 | # include "features.h" 9 | 10 | #endif // JSON_JSON_H_INCLUDED 11 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.cpp -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.h -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/libKeyboard.so -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_reader.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_reader.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_value.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_value.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_writer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_writer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/plugin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/plugin.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/tokenizer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/tokenizer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/CallKeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/CallKeyboard.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/Logger.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/Logger.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_js.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_js.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/src/Logger.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef LOGGER_HPP_ 18 | #define LOGGER_HPP_ 19 | 20 | #include 21 | #include 22 | 23 | class Keyboard_JS; 24 | 25 | namespace webworks { 26 | 27 | class Logger { 28 | public: 29 | explicit Logger(const char* name, Keyboard_JS *parent = NULL); 30 | virtual ~Logger(); 31 | int debug(const char* message); 32 | int info(const char* message); 33 | int notice(const char* message); 34 | int warn(const char* message); 35 | int error(const char* message); 36 | int critical(const char* message); 37 | int setVerbosity(_Uint8t verbosity); 38 | _Uint8t getVerbosity(); 39 | slog2_buffer_t hiPriorityBuffer(); 40 | slog2_buffer_t lowPriorityBuffer(); 41 | private: 42 | Keyboard_JS *m_pParent; 43 | slog2_buffer_set_config_t buffer_config; 44 | slog2_buffer_t buffer_handle[2]; 45 | int log(slog2_buffer_t buffer, _Uint8t severity, const char* message); 46 | }; 47 | 48 | } /* namespace webworks */ 49 | #endif /* LOGGER_HPP_ */ 50 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/src/keyboard_js.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef Keyboard_JS_HPP_ 18 | #define Keyboard_JS_HPP_ 19 | 20 | #include 21 | #include "../public/plugin.h" 22 | #include "keyboard_ndk.hpp" 23 | #include "Logger.hpp" 24 | 25 | 26 | class Keyboard_JS: public JSExt { 27 | 28 | public: 29 | explicit Keyboard_JS(const std::string& id); 30 | virtual ~Keyboard_JS(); 31 | virtual bool CanDelete(); 32 | virtual std::string InvokeMethod(const std::string& command); 33 | void NotifyEvent(const std::string& event); 34 | webworks::Logger* getLog(); 35 | private: 36 | std::string m_id; 37 | webworks::Keyboard_NDK *m_pKeyboardController; 38 | webworks::Logger *m_pLogger; 39 | 40 | }; 41 | 42 | #endif /* Keyboard_JS_HPP_ */ 43 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/src/keyboard_ndk.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef Keyboard_NDK_HPP_ 18 | #define Keyboard_NDK_HPP_ 19 | 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | class Keyboard_JS; 33 | 34 | namespace webworks { 35 | 36 | class Keyboard_NDK { 37 | public: 38 | explicit Keyboard_NDK(Keyboard_JS *parent = NULL); 39 | virtual ~Keyboard_NDK(); 40 | virtual void event(bps_event_t *event); 41 | 42 | void callKeyboardEmail(); // Method Calls the Keyboard style Email (default) 43 | 44 | void callKeyboardNumber(); // Method Calls the Keyboard style number 45 | 46 | void cancelKeyboard(); // Method cancel the keyboard 47 | 48 | std::string keyboardStartThread(); 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | private: 57 | 58 | Keyboard_JS *m_pParent; 59 | int keyboardProperty; 60 | int keyboardThreadCount; 61 | bool threadHalt; 62 | std::string threadCallbackId; 63 | pthread_t m_thread; 64 | pthread_cond_t cond; 65 | pthread_mutex_t mutex; 66 | 67 | }; 68 | 69 | } // namespace webworks 70 | 71 | #endif /* Keyboard_NDK_HPP_ */ 72 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/ios/IonicKeyboard.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface IonicKeyboard : CDVPlugin { 5 | @protected 6 | id _keyboardShowObserver, _keyboardHideObserver; 7 | IMP wkOriginalImp, uiOriginalImp, nilImp; 8 | Method wkMethod, uiMethod; 9 | } 10 | 11 | @property (readwrite, assign) BOOL hideKeyboardAccessoryBar; 12 | @property (readwrite, assign) BOOL disableScroll; 13 | //@property (readwrite, assign) BOOL styleDark; 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/windows/KeyboardProxy.js: -------------------------------------------------------------------------------- 1 | 2 | /*global Windows, WinJS, cordova, module, require*/ 3 | 4 | var inputPane = Windows.UI.ViewManagement.InputPane.getForCurrentView(); 5 | var keyboardScrollDisabled = false; 6 | 7 | inputPane.addEventListener('hiding', function() { 8 | cordova.fireWindowEvent('native.keyboardhide'); 9 | cordova.plugins.Keyboard.isVisible = false; 10 | }); 11 | 12 | inputPane.addEventListener('showing', function(e) { 13 | if (keyboardScrollDisabled) { 14 | // this disables automatic scrolling of view contents to show focused control 15 | e.ensuredFocusedElementInView = true; 16 | } 17 | cordova.fireWindowEvent('native.keyboardshow', { keyboardHeight: e.occludedRect.height }); 18 | cordova.plugins.Keyboard.isVisible = true; 19 | }); 20 | 21 | module.exports.disableScroll = function (disable) { 22 | keyboardScrollDisabled = disable; 23 | }; 24 | 25 | module.exports.show = function () { 26 | if (typeof inputPane.tryShow === 'function') { 27 | inputPane.tryShow(); 28 | } 29 | }; 30 | 31 | module.exports.close = function () { 32 | if (typeof inputPane.tryShow === 'function') { 33 | inputPane.tryHide(); 34 | } 35 | }; 36 | 37 | require("cordova/exec/proxy").add("Keyboard", module.exports); 38 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/www/android/keyboard.js: -------------------------------------------------------------------------------- 1 | 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'), 5 | channel = require('cordova/channel'); 6 | 7 | 8 | var Keyboard = function() { 9 | }; 10 | 11 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 12 | exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); 13 | }; 14 | 15 | Keyboard.close = function() { 16 | exec(null, null, "Keyboard", "close", []); 17 | }; 18 | 19 | Keyboard.show = function() { 20 | exec(null, null, "Keyboard", "show", []); 21 | }; 22 | 23 | Keyboard.disableScroll = function(disable) { 24 | exec(null, null, "Keyboard", "disableScroll", [disable]); 25 | }; 26 | 27 | /* 28 | Keyboard.styleDark = function(dark) { 29 | exec(null, null, "Keyboard", "styleDark", [dark]); 30 | }; 31 | */ 32 | 33 | Keyboard.isVisible = false; 34 | 35 | channel.onCordovaReady.subscribe(function() { 36 | exec(success, null, 'Keyboard', 'init', []); 37 | 38 | function success(msg) { 39 | var action = msg.charAt(0); 40 | if ( action === 'S' ) { 41 | var keyboardHeight = msg.substr(1); 42 | cordova.plugins.Keyboard.isVisible = true; 43 | cordova.fireWindowEvent('native.keyboardshow', { 'keyboardHeight': + keyboardHeight }); 44 | 45 | //deprecated 46 | cordova.fireWindowEvent('native.showkeyboard', { 'keyboardHeight': + keyboardHeight }); 47 | } else if ( action === 'H' ) { 48 | cordova.plugins.Keyboard.isVisible = false; 49 | cordova.fireWindowEvent('native.keyboardhide'); 50 | 51 | //deprecated 52 | cordova.fireWindowEvent('native.hidekeyboard'); 53 | } 54 | } 55 | }); 56 | 57 | module.exports = Keyboard; 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/www/browser/keyboard.js: -------------------------------------------------------------------------------- 1 | 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'); 5 | 6 | 7 | var Keyboard = function() { 8 | }; 9 | 10 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 11 | return null; 12 | }; 13 | 14 | Keyboard.close = function() { 15 | return null; 16 | }; 17 | 18 | Keyboard.show = function() { 19 | return null; 20 | }; 21 | 22 | Keyboard.disableScroll = function(disable) { 23 | return null; 24 | }; 25 | 26 | /* 27 | Keyboard.styleDark = function(dark) { 28 | exec(null, null, "Keyboard", "styleDark", [dark]); 29 | }; 30 | */ 31 | 32 | Keyboard.isVisible = false; 33 | 34 | module.exports = Keyboard; 35 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/www/ios/keyboard.js: -------------------------------------------------------------------------------- 1 | 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'); 5 | 6 | 7 | var Keyboard = function() { 8 | }; 9 | 10 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 11 | exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); 12 | }; 13 | 14 | Keyboard.close = function() { 15 | exec(null, null, "Keyboard", "close", []); 16 | }; 17 | 18 | Keyboard.show = function() { 19 | console.warn('Showing keyboard not supported in iOS due to platform limitations.') 20 | console.warn('Instead, use input.focus(), and ensure that you have the following setting in your config.xml: \n'); 21 | console.warn(' \n'); 22 | // exec(null, null, "Keyboard", "show", []); 23 | }; 24 | 25 | Keyboard.disableScroll = function(disable) { 26 | exec(null, null, "Keyboard", "disableScroll", [disable]); 27 | }; 28 | 29 | /* 30 | Keyboard.styleDark = function(dark) { 31 | exec(null, null, "Keyboard", "styleDark", [dark]); 32 | }; 33 | */ 34 | 35 | Keyboard.isVisible = false; 36 | 37 | module.exports = Keyboard; 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /resources/android/icon/drawable-hdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/icon/drawable-hdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-ldpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/icon/drawable-ldpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-mdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/icon/drawable-mdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/icon/drawable-xhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/icon/drawable-xxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/icon/drawable-xxxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-land-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-land-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-land-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-land-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-land-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-land-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-port-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-port-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-port-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-port-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-port-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/android/splash/drawable-port-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/icon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/icon.psd -------------------------------------------------------------------------------- /resources/ios/icon/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-40.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-40@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-40@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-50.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-50@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-60.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-60@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-60@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-72.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-72@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-76.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-76@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-83.5@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-small.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-small@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon-small@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/icon/icon@2x.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-667h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/ios/splash/Default~iphone.png -------------------------------------------------------------------------------- /resources/screenshots/AboutPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/AboutPage.png -------------------------------------------------------------------------------- /resources/screenshots/AccountPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/AccountPage.png -------------------------------------------------------------------------------- /resources/screenshots/LoginPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/LoginPage.png -------------------------------------------------------------------------------- /resources/screenshots/MapPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/MapPage.png -------------------------------------------------------------------------------- /resources/screenshots/ScheduleFilterPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/ScheduleFilterPage.png -------------------------------------------------------------------------------- /resources/screenshots/SchedulePage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/SchedulePage.png -------------------------------------------------------------------------------- /resources/screenshots/SessionDetailPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/SessionDetailPage.png -------------------------------------------------------------------------------- /resources/screenshots/SignupPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/SignupPage.png -------------------------------------------------------------------------------- /resources/screenshots/SpeakerDetailPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/SpeakerDetailPage.png -------------------------------------------------------------------------------- /resources/screenshots/SpeakerListPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/SpeakerListPage.png -------------------------------------------------------------------------------- /resources/screenshots/TutorialPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/screenshots/TutorialPage.png -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/resources/splash.png -------------------------------------------------------------------------------- /src/app/main.ts: -------------------------------------------------------------------------------- 1 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 2 | 3 | import { AppModule } from './app.module'; 4 | 5 | platformBrowserDynamic().bootstrapModule(AppModule); 6 | -------------------------------------------------------------------------------- /src/assets/img/appicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/appicon.png -------------------------------------------------------------------------------- /src/assets/img/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/img/ica-slidebox-img-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/ica-slidebox-img-1.png -------------------------------------------------------------------------------- /src/assets/img/ica-slidebox-img-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/ica-slidebox-img-2.png -------------------------------------------------------------------------------- /src/assets/img/ica-slidebox-img-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/ica-slidebox-img-3.png -------------------------------------------------------------------------------- /src/assets/img/ica-slidebox-img-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/ica-slidebox-img-4.png -------------------------------------------------------------------------------- /src/assets/img/speakers/bear.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/bear.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/cheetah.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/cheetah.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/duck.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/duck.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/eagle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/eagle.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/elephant.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/elephant.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/giraffe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/giraffe.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/iguana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/iguana.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/kitten.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/kitten.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/lion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/lion.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/mouse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/mouse.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/puppy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/puppy.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/rabbit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/rabbit.jpg -------------------------------------------------------------------------------- /src/assets/img/speakers/turtle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/assets/img/speakers/turtle.jpg -------------------------------------------------------------------------------- /src/declarations.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | Declaration files are how the Typescript compiler knows about the type information(or shape) of an object. 3 | They're what make intellisense work and make Typescript know all about your code. 4 | A wildcard module is declared below to allow third party libraries to be used in an app even if they don't 5 | provide their own type declarations. 6 | To learn more about using third party libraries in an Ionic app, check out the docs here: 7 | http://ionicframework.com/docs/v2/resources/third-party-libs/ 8 | For more info on type definition files, check out the Typescript docs here: 9 | https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html 10 | */ 11 | declare module '*'; -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Ionic Conference App 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic Conference", 3 | "short_name": "Ionic Conf", 4 | "start_url": "index.html", 5 | "display": "standalone", 6 | "icons": [{ 7 | "src": "assets/img/appicon.png", 8 | "sizes": "512x512", 9 | "type": "image/png" 10 | }], 11 | "background_color": "#387ef5", 12 | "theme_color": "#387ef5" 13 | } -------------------------------------------------------------------------------- /src/pages/about-popover/about-popover.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { ViewController, NavController, App, ModalController } from 'ionic-angular'; 4 | 5 | import { SupportPage } from '../support/support'; 6 | 7 | 8 | @Component({ 9 | template: ` 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ` 18 | }) 19 | export class PopoverPage { 20 | 21 | constructor( 22 | public viewCtrl: ViewController, 23 | public navCtrl: NavController, 24 | public app: App, 25 | public modalCtrl: ModalController 26 | ) { } 27 | 28 | support() { 29 | this.app.getRootNav().push(SupportPage); 30 | this.viewCtrl.dismiss(); 31 | } 32 | 33 | close(url: string) { 34 | window.open(url, '_blank'); 35 | this.viewCtrl.dismiss(); 36 | } 37 | } -------------------------------------------------------------------------------- /src/pages/about/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | About 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | ionic logo 18 |
19 |
20 |

Ionic Conference

21 | 22 | 23 | 24 | 25 | Date 26 | 27 | 28 | 29 | 30 | 31 | Location 32 | 33 | Madison, WI 34 | Austin, TX 35 | Chicago, IL 36 | Seattle, WA 37 | 38 | 39 | 40 | 41 |

42 | The Ionic Conference is a one-day conference featuring talks from the 43 | Ionic team. It is focused on Ionic applications being built with 44 | Ionic 2. This includes migrating apps from Ionic 1 to Ionic 2, 45 | Angular concepts, Webpack, Sass, and many other technologies used 46 | in Ionic 2. Tickets are completely sold out, and we’re expecting 47 | more than 1000 developers – making this the largest Ionic 48 | conference ever! 49 |

50 |
51 |
52 | -------------------------------------------------------------------------------- /src/pages/about/about.scss: -------------------------------------------------------------------------------- 1 | .about-header { 2 | background-color: #434954; 3 | padding: 16px; 4 | width: 100%; 5 | min-height: 150px; 6 | text-align: center; 7 | } 8 | 9 | .about-header img { 10 | max-width: 200px; 11 | min-height: 115px; 12 | margin-left: -15px; 13 | padding: 25px 0 20px 0; 14 | } 15 | 16 | .about-info p { 17 | color: #697072; 18 | text-align: left; 19 | } 20 | 21 | .about-info ion-icon { 22 | color: color($colors, primary); 23 | width: 20px; 24 | } 25 | 26 | .md, 27 | .wp { 28 | .about-info [text-right] { 29 | margin-right: 0; 30 | } 31 | } 32 | 33 | .ios .about-info { 34 | text-align: center; 35 | } 36 | 37 | .ios .about-info ion-icon { 38 | width: auto; 39 | margin-right: 10px; 40 | } 41 | -------------------------------------------------------------------------------- /src/pages/about/about.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { PopoverController } from 'ionic-angular'; 4 | 5 | import { PopoverPage } from '../about-popover/about-popover'; 6 | 7 | @Component({ 8 | selector: 'page-about', 9 | templateUrl: 'about.html' 10 | }) 11 | export class AboutPage { 12 | conferenceDate = '2047-05-17'; 13 | 14 | constructor(public popoverCtrl: PopoverController) { } 15 | 16 | presentPopover(event: Event) { 17 | let popover = this.popoverCtrl.create(PopoverPage); 18 | popover.present({ ev: event }); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/pages/account/account.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Account 7 | 8 | 9 | 10 | 11 |
12 | avatar 13 |

{{username}}

14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 | -------------------------------------------------------------------------------- /src/pages/account/account.scss: -------------------------------------------------------------------------------- 1 | 2 | page-account img { 3 | max-width: 140px; 4 | border-radius: 50%; 5 | } 6 | -------------------------------------------------------------------------------- /src/pages/account/account.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { AlertController, NavController } from 'ionic-angular'; 4 | 5 | import { LoginPage } from '../login/login'; 6 | import { SupportPage } from '../support/support'; 7 | import { UserData } from '../../providers/user-data'; 8 | 9 | 10 | @Component({ 11 | selector: 'page-account', 12 | templateUrl: 'account.html' 13 | }) 14 | export class AccountPage { 15 | username: string; 16 | 17 | constructor(public alertCtrl: AlertController, public nav: NavController, public userData: UserData) { 18 | 19 | } 20 | 21 | ngAfterViewInit() { 22 | this.getUsername(); 23 | } 24 | 25 | updatePicture() { 26 | console.log('Clicked to update picture'); 27 | } 28 | 29 | // Present an alert with the current username populated 30 | // clicking OK will update the username and display it 31 | // clicking Cancel will close the alert and do nothing 32 | changeUsername() { 33 | let alert = this.alertCtrl.create({ 34 | title: 'Change Username', 35 | buttons: [ 36 | 'Cancel' 37 | ] 38 | }); 39 | alert.addInput({ 40 | name: 'username', 41 | value: this.username, 42 | placeholder: 'username' 43 | }); 44 | alert.addButton({ 45 | text: 'Ok', 46 | handler: (data: any) => { 47 | this.userData.setUsername(data.username); 48 | this.getUsername(); 49 | } 50 | }); 51 | 52 | alert.present(); 53 | } 54 | 55 | getUsername() { 56 | this.userData.getUsername().then((username) => { 57 | this.username = username; 58 | }); 59 | } 60 | 61 | changePassword() { 62 | console.log('Clicked to change password'); 63 | } 64 | 65 | logout() { 66 | this.userData.logout(); 67 | this.nav.setRoot(LoginPage); 68 | } 69 | 70 | support() { 71 | this.nav.push(SupportPage); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/pages/login/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Login 7 | 8 | 9 | 10 | 11 | 14 | 15 |
16 | 17 | 18 | Username 19 | 21 | 22 | 23 |

24 | Username is required 25 |

26 | 27 | 28 | Password 29 | 30 | 31 | 32 |

33 | Password is required 34 |

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
46 | 47 |
48 | -------------------------------------------------------------------------------- /src/pages/login/login.scss: -------------------------------------------------------------------------------- 1 | // Styles for all of the user pages: 2 | // Login, Signup, Support 3 | 4 | page-user { 5 | .logo { 6 | padding: 20px 0; 7 | min-height: 200px; 8 | text-align: center; 9 | 10 | img { 11 | max-width: 150px; 12 | } 13 | } 14 | 15 | .list { 16 | margin-bottom: 0; 17 | } 18 | } -------------------------------------------------------------------------------- /src/pages/login/login.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { NgForm } from '@angular/forms'; 3 | 4 | import { NavController } from 'ionic-angular'; 5 | 6 | import { SignupPage } from '../signup/signup'; 7 | import { TabsPage } from '../tabs/tabs'; 8 | import { UserData } from '../../providers/user-data'; 9 | 10 | 11 | @Component({ 12 | selector: 'page-user', 13 | templateUrl: 'login.html' 14 | }) 15 | export class LoginPage { 16 | login: {username?: string, password?: string} = {}; 17 | submitted = false; 18 | 19 | constructor(public navCtrl: NavController, public userData: UserData) { } 20 | 21 | onLogin(form: NgForm) { 22 | this.submitted = true; 23 | 24 | if (form.valid) { 25 | this.userData.login(this.login.username); 26 | this.navCtrl.push(TabsPage); 27 | } 28 | } 29 | 30 | onSignup() { 31 | this.navCtrl.push(SignupPage); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/pages/map/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Map 7 | 8 | 9 | 10 | 11 |
12 |
13 | -------------------------------------------------------------------------------- /src/pages/map/map.scss: -------------------------------------------------------------------------------- 1 | 2 | page-map ion-content { 3 | background: rgb(229, 227, 223); 4 | } 5 | 6 | page-map { 7 | #map_canvas { 8 | height: 500px; 9 | width: 320px; 10 | background-color : transparent; 11 | } 12 | } 13 | 14 | page-map ion-content { 15 | background: rgb(229, 227, 223); 16 | } 17 | 18 | page-map #map_canvas { 19 | width: 100%; 20 | height: 100%; 21 | opacity: 0; 22 | transition: opacity 150ms ease-in 23 | } 24 | 25 | page-map #map_canvas.show-map { 26 | opacity: 1; 27 | } 28 | 29 | ion-app._gmaps_cdv_ .nav-decor{ 30 | background-color: transparent !important; 31 | } 32 | -------------------------------------------------------------------------------- /src/pages/map/map.ts: -------------------------------------------------------------------------------- 1 | import { Component, ViewChild, ElementRef } from '@angular/core'; 2 | 3 | import { ConferenceData } from '../../providers/conference-data'; 4 | 5 | import { Platform } from 'ionic-angular'; 6 | 7 | 8 | declare var google: any; 9 | 10 | @Component({ 11 | selector: 'page-map', 12 | templateUrl: 'map.html' 13 | }) 14 | export class MapPage { 15 | 16 | @ViewChild('mapCanvas') mapElement: ElementRef; 17 | constructor(public confData: ConferenceData, public platform: Platform) { 18 | } 19 | 20 | ionViewDidLoad() { 21 | 22 | this.confData.getMap().subscribe((mapData: any) => { 23 | let mapEle = this.mapElement.nativeElement; 24 | 25 | let map = new google.maps.Map(mapEle, { 26 | center: mapData.find((d: any) => d.center), 27 | zoom: 16 28 | }); 29 | 30 | mapData.forEach((markerData: any) => { 31 | let infoWindow = new google.maps.InfoWindow({ 32 | content: `
${markerData.name}
` 33 | }); 34 | 35 | let marker = new google.maps.Marker({ 36 | position: markerData, 37 | map: map, 38 | title: markerData.name 39 | }); 40 | 41 | marker.addListener('click', () => { 42 | infoWindow.open(map, marker); 43 | }); 44 | }); 45 | 46 | google.maps.event.addListenerOnce(map, 'idle', () => { 47 | mapEle.classList.add('show-map'); 48 | }); 49 | 50 | }); 51 | 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/pages/schedule-filter/schedule-filter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Filter Sessions 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Tracks 21 | 22 | 23 | 24 | {{track.name}} 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/pages/schedule-filter/schedule-filter.scss: -------------------------------------------------------------------------------- 1 | 2 | .reset-filters { 3 | color: color($colors, danger); 4 | } 5 | 6 | @each $track, $value in auxiliary-categories() { 7 | 8 | ion-item[track=#{$track}] .dot { 9 | height: 10px; 10 | display: inline-block; 11 | width: 10px; 12 | background-color: $value; 13 | border-radius: 5px; 14 | margin-right: 10px; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/pages/schedule-filter/schedule-filter.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { NavParams, ViewController } from 'ionic-angular'; 4 | 5 | import { ConferenceData } from '../../providers/conference-data'; 6 | 7 | 8 | @Component({ 9 | selector: 'page-schedule-filter', 10 | templateUrl: 'schedule-filter.html' 11 | }) 12 | export class ScheduleFilterPage { 13 | tracks: Array<{name: string, isChecked: boolean}> = []; 14 | 15 | constructor( 16 | public confData: ConferenceData, 17 | public navParams: NavParams, 18 | public viewCtrl: ViewController 19 | ) { 20 | // passed in array of track names that should be excluded (unchecked) 21 | let excludedTrackNames = this.navParams.data; 22 | 23 | this.confData.getTracks().subscribe((trackNames: string[]) => { 24 | 25 | trackNames.forEach(trackName => { 26 | this.tracks.push({ 27 | name: trackName, 28 | isChecked: (excludedTrackNames.indexOf(trackName) === -1) 29 | }); 30 | }); 31 | 32 | }); 33 | } 34 | 35 | resetFilters() { 36 | // reset all of the toggles to be checked 37 | this.tracks.forEach(track => { 38 | track.isChecked = true; 39 | }); 40 | } 41 | 42 | applyFilters() { 43 | // Pass back a new array of track names to exclude 44 | let excludedTrackNames = this.tracks.filter(c => !c.isChecked).map(c => c.name); 45 | this.dismiss(excludedTrackNames); 46 | } 47 | 48 | dismiss(data?: any) { 49 | // using the injected ViewController this page 50 | // can "dismiss" itself and pass back data 51 | this.viewCtrl.dismiss(data); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/pages/schedule/schedule.scss: -------------------------------------------------------------------------------- 1 | $categories: ( 2 | ionic: color($colors, primary), 3 | angular: #AC282B, 4 | communication: #8E8D93, 5 | tooling: #FE4C52, 6 | services: #FD8B2D, 7 | design: #FED035, 8 | workshop: #69BB7B, 9 | food: #3BC7C4, 10 | documentation: #B16BE3, 11 | navigation: #6600CC, 12 | ); 13 | 14 | @function auxiliary-categories() { 15 | @return map-remove($categories); 16 | } 17 | 18 | page-schedule { 19 | @each $track, $value in auxiliary-categories() { 20 | ion-item-sliding[track=#{$track}] ion-label { 21 | border-left: 2px solid $value; 22 | padding-left: 10px; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/pages/session-detail/session-detail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Session 4 | 5 | 6 | 7 | 8 |

{{session.name}}

9 | 10 |

11 | {{speaker.name}} 12 |

13 | 14 |

15 | {{session.timeStart}} - {{session.timeEnd}} 16 |

17 | 18 |

{{session.location}}

19 | 20 |

{{session.description}}

21 |
22 | -------------------------------------------------------------------------------- /src/pages/session-detail/session-detail.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { NavParams } from 'ionic-angular'; 4 | 5 | 6 | @Component({ 7 | selector: 'page-session-detail', 8 | templateUrl: 'session-detail.html' 9 | }) 10 | export class SessionDetailPage { 11 | session: any; 12 | 13 | constructor(public navParams: NavParams) { 14 | this.session = navParams.data; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/pages/signup/signup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Signup 7 | 8 | 9 | 10 | 43 | -------------------------------------------------------------------------------- /src/pages/signup/signup.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/pages/signup/signup.scss -------------------------------------------------------------------------------- /src/pages/signup/signup.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { NgForm } from '@angular/forms'; 3 | 4 | import { NavController } from 'ionic-angular'; 5 | 6 | import { TabsPage } from '../tabs/tabs'; 7 | import { UserData } from '../../providers/user-data'; 8 | 9 | 10 | @Component({ 11 | selector: 'page-user', 12 | templateUrl: 'signup.html' 13 | }) 14 | export class SignupPage { 15 | signup: {username?: string, password?: string} = {}; 16 | submitted = false; 17 | 18 | constructor(public navCtrl: NavController, public userData: UserData) {} 19 | 20 | onSignup(form: NgForm) { 21 | this.submitted = true; 22 | 23 | if (form.valid) { 24 | this.userData.signup(this.signup.username); 25 | this.navCtrl.push(TabsPage); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/pages/speaker-detail/speaker-detail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{speaker.name}} 4 | 5 | 6 | 7 | 8 | 9 |
10 |
11 | 12 | 15 | 18 | 21 |
22 | 23 |

{{speaker.about}}

24 | 25 |
26 | -------------------------------------------------------------------------------- /src/pages/speaker-detail/speaker-detail.scss: -------------------------------------------------------------------------------- 1 | 2 | .speaker-detail img { 3 | max-width: 140px; 4 | border-radius: 50%; 5 | } 6 | 7 | .speaker-detail p { 8 | color: #60646B; 9 | } 10 | -------------------------------------------------------------------------------- /src/pages/speaker-detail/speaker-detail.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { NavController, NavParams } from 'ionic-angular'; 4 | 5 | import { SessionDetailPage } from '../session-detail/session-detail'; 6 | 7 | 8 | @Component({ 9 | selector: 'page-speaker-detail', 10 | templateUrl: 'speaker-detail.html' 11 | }) 12 | export class SpeakerDetailPage { 13 | speaker: any; 14 | 15 | constructor(public navCtrl: NavController, public navParams: NavParams) { 16 | this.speaker = this.navParams.data; 17 | } 18 | 19 | goToSessionDetail(session: any) { 20 | this.navCtrl.push(SessionDetailPage, session); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/pages/speaker-list/speaker-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Speakers 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 21 | 22 | 23 | 24 | 27 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 40 | 41 | 42 | 46 | 47 | 48 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /src/pages/speaker-list/speaker-list.scss: -------------------------------------------------------------------------------- 1 | 2 | page-speaker-list { 3 | 4 | .scroll-content { 5 | background: #EDEDED; 6 | } 7 | 8 | .speaker-card ion-card-header .item { 9 | padding: 4px 16px; 10 | } 11 | 12 | .speaker-card ion-card-header, 13 | .speaker-card ion-card-content, 14 | .speaker-card ion-card-content .list ion-item-content, { 15 | padding: 0; 16 | } 17 | 18 | @media (min-width: 600px) { 19 | .speaker-card { 20 | width: 60%; 21 | margin: 10px auto; 22 | } 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/pages/support/support.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | Support 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 |
19 | 20 | 21 | Enter your support message below 22 | 23 | 24 | 25 | 26 |

27 | Support message is required 28 |

29 | 30 |
31 | 32 |
33 |
34 |
35 | -------------------------------------------------------------------------------- /src/pages/support/support.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jgw96/electron-quick-start/8b041767bd2877709e6f8b3949f23dd885079897/src/pages/support/support.scss -------------------------------------------------------------------------------- /src/pages/tabs/tabs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/pages/tabs/tabs.scss: -------------------------------------------------------------------------------- 1 | .tabbar { 2 | justify-content: center; 3 | } 4 | 5 | .tab-button { 6 | max-width: 200px; 7 | } -------------------------------------------------------------------------------- /src/pages/tabs/tabs.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { NavParams } from 'ionic-angular'; 4 | 5 | import { AboutPage } from '../about/about'; 6 | import { MapPage } from '../map/map'; 7 | import { SchedulePage } from '../schedule/schedule'; 8 | import { SpeakerListPage } from '../speaker-list/speaker-list'; 9 | 10 | 11 | @Component({ 12 | templateUrl: 'tabs.html' 13 | }) 14 | export class TabsPage { 15 | // set the root pages for each tab 16 | tab1Root: any = SchedulePage; 17 | tab2Root: any = SpeakerListPage; 18 | tab3Root: any = MapPage; 19 | tab4Root: any = AboutPage; 20 | mySelectedIndex: number; 21 | 22 | constructor(navParams: NavParams) { 23 | this.mySelectedIndex = navParams.data.tabIndex || 0; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/pages/tutorial/tutorial.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

15 | Welcome to ICA 16 |

17 |

18 | The ionic conference app is a practical preview of the ionic framework in action, and a demonstration of proper code use. 19 |

20 |
21 | 22 | 23 | 24 |

What is Ionic?

25 |

Ionic Framework is an open source SDK that enables developers to build high quality mobile apps with web technologies like HTML, CSS, and JavaScript.

26 |
27 | 28 | 29 | 30 |

What is Ionic Platform?

31 |

The Ionic Platform is a cloud platform for managing and scaling Ionic apps with integrated services like push notifications, native builds, user auth, and live updating.

32 |
33 | 34 | 35 | 36 |

Ready to Play?

37 | 41 |
42 | 43 |
44 |
45 | -------------------------------------------------------------------------------- /src/pages/tutorial/tutorial.scss: -------------------------------------------------------------------------------- 1 | 2 | page-tutorial { 3 | .toolbar-background { 4 | background: transparent; 5 | border-color: transparent; 6 | } 7 | 8 | .slide-zoom { 9 | height: 100%; 10 | } 11 | 12 | .slide-title { 13 | margin-top: 2.8rem; 14 | } 15 | 16 | .slide-image { 17 | max-height: 50%; 18 | max-width: 60%; 19 | margin: 36px 0; 20 | } 21 | 22 | b { 23 | font-weight: 500; 24 | } 25 | 26 | p { 27 | padding: 0 40px; 28 | font-size: 14px; 29 | line-height: 1.5; 30 | color: #60646B; 31 | 32 | b { 33 | color: #000000; 34 | } 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/pages/tutorial/tutorial.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { MenuController, NavController, Slides } from 'ionic-angular'; 3 | import { Storage } from '@ionic/storage'; 4 | import { TabsPage } from '../tabs/tabs'; 5 | 6 | @Component({ 7 | selector: 'page-tutorial', 8 | templateUrl: 'tutorial.html' 9 | }) 10 | 11 | export class TutorialPage { 12 | showSkip = true; 13 | 14 | constructor( 15 | public navCtrl: NavController, 16 | public menu: MenuController, 17 | public storage: Storage 18 | ) { } 19 | 20 | startApp() { 21 | this.navCtrl.push(TabsPage).then(() => { 22 | this.storage.set('hasSeenTutorial', 'true'); 23 | }) 24 | } 25 | 26 | onSlideChangeStart(slider: Slides) { 27 | this.showSkip = !slider.isEnd(); 28 | } 29 | 30 | ionViewDidEnter() { 31 | // the root left menu should be disabled on the tutorial page 32 | this.menu.enable(false); 33 | } 34 | 35 | ionViewDidLeave() { 36 | // enable the root left menu when leaving the tutorial page 37 | this.menu.enable(true); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/providers/user-data.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | 3 | import { Events } from 'ionic-angular'; 4 | import { Storage } from '@ionic/storage'; 5 | 6 | 7 | @Injectable() 8 | export class UserData { 9 | _favorites: string[] = []; 10 | HAS_LOGGED_IN = 'hasLoggedIn'; 11 | HAS_SEEN_TUTORIAL = 'hasSeenTutorial'; 12 | 13 | constructor( 14 | public events: Events, 15 | public storage: Storage 16 | ) {} 17 | 18 | hasFavorite(sessionName: string) { 19 | return (this._favorites.indexOf(sessionName) > -1); 20 | }; 21 | 22 | addFavorite(sessionName: string) { 23 | this._favorites.push(sessionName); 24 | }; 25 | 26 | removeFavorite(sessionName: string) { 27 | let index = this._favorites.indexOf(sessionName); 28 | if (index > -1) { 29 | this._favorites.splice(index, 1); 30 | } 31 | }; 32 | 33 | login(username: string) { 34 | this.storage.set(this.HAS_LOGGED_IN, true); 35 | this.setUsername(username); 36 | this.events.publish('user:login'); 37 | }; 38 | 39 | signup(username: string) { 40 | this.storage.set(this.HAS_LOGGED_IN, true); 41 | this.setUsername(username); 42 | this.events.publish('user:signup'); 43 | }; 44 | 45 | logout() { 46 | this.storage.remove(this.HAS_LOGGED_IN); 47 | this.storage.remove('username'); 48 | this.events.publish('user:logout'); 49 | }; 50 | 51 | setUsername(username: string) { 52 | this.storage.set('username', username); 53 | }; 54 | 55 | getUsername() { 56 | return this.storage.get('username').then((value) => { 57 | return value; 58 | }); 59 | }; 60 | 61 | // return a promise 62 | hasLoggedIn() { 63 | return this.storage.get(this.HAS_LOGGED_IN).then((value) => { 64 | return value === true; 65 | }); 66 | }; 67 | 68 | checkHasSeenTutorial() { 69 | return this.storage.get(this.HAS_SEEN_TUTORIAL).then((value) => { 70 | return value; 71 | }) 72 | }; 73 | } 74 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowSyntheticDefaultImports": true, 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "noImplicitAny": true, 8 | "lib": [ 9 | "dom", 10 | "es2015" 11 | ], 12 | "module": "es2015", 13 | "moduleResolution": "node", 14 | "sourceMap": true, 15 | "target": "es5" 16 | }, 17 | "include": [ 18 | "src/**/*.ts" 19 | ], 20 | "exclude": [ 21 | "node_modules" 22 | ], 23 | "compileOnSave": false, 24 | "atom": { 25 | "rewriteTsconfig": false 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "no-duplicate-variable": true, 4 | "no-unused-variable": [ 5 | true 6 | ] 7 | }, 8 | "rulesDirectory": [ 9 | "node_modules/tslint-eslint-rules/dist/rules" 10 | ] 11 | } 12 | --------------------------------------------------------------------------------