├── .gitignore ├── .sourcemaps ├── 0.js.map ├── 1.js.map ├── 2.js.map ├── main.css.map └── main.js.map ├── README.md ├── config.xml ├── hooks └── README.md ├── ionic.config.json ├── package.json ├── plugins ├── android.json ├── cordova-plugin-admobpro │ ├── LICENSE │ ├── README.md │ ├── docs │ │ ├── README.md │ │ ├── README.zh_cn.md │ │ ├── android.jpg │ │ ├── android_interstitial.jpg │ │ ├── good.png │ │ ├── iphone.jpg │ │ ├── iphone_interstitial.jpg │ │ ├── trend.png │ │ ├── warning.png │ │ ├── youtube_video.jpg │ │ └── youtube_video0.jpg │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ ├── AdMobMediation.java │ │ │ └── AdMobPlugin.java │ │ ├── ios │ │ │ ├── AdMobMediation.h │ │ │ ├── AdMobMediation.m │ │ │ ├── CDVAdMobPlugin.h │ │ │ ├── CDVAdMobPlugin.m │ │ │ └── GoogleMobileAds.framework │ │ │ │ ├── GoogleMobileAds │ │ │ │ ├── Headers │ │ │ │ ├── DFPBannerView.h │ │ │ │ ├── DFPBannerViewOptions.h │ │ │ │ ├── DFPCustomRenderedAd.h │ │ │ │ ├── DFPCustomRenderedBannerViewDelegate.h │ │ │ │ ├── DFPCustomRenderedInterstitialDelegate.h │ │ │ │ ├── DFPInterstitial.h │ │ │ │ ├── DFPRequest.h │ │ │ │ ├── GADAdChoicesView.h │ │ │ │ ├── GADAdDelegate.h │ │ │ │ ├── GADAdLoader.h │ │ │ │ ├── GADAdLoaderAdTypes.h │ │ │ │ ├── GADAdLoaderDelegate.h │ │ │ │ ├── GADAdNetworkExtras.h │ │ │ │ ├── GADAdReward.h │ │ │ │ ├── GADAdSize.h │ │ │ │ ├── GADAdSizeDelegate.h │ │ │ │ ├── GADAppEventDelegate.h │ │ │ │ ├── GADAudioVideoManager.h │ │ │ │ ├── GADAudioVideoManagerDelegate.h │ │ │ │ ├── GADBannerView.h │ │ │ │ ├── GADBannerViewDelegate.h │ │ │ │ ├── GADCorrelator.h │ │ │ │ ├── GADCorrelatorAdLoaderOptions.h │ │ │ │ ├── GADCustomEventBanner.h │ │ │ │ ├── GADCustomEventBannerDelegate.h │ │ │ │ ├── GADCustomEventExtras.h │ │ │ │ ├── GADCustomEventInterstitial.h │ │ │ │ ├── GADCustomEventInterstitialDelegate.h │ │ │ │ ├── GADCustomEventNativeAd.h │ │ │ │ ├── GADCustomEventNativeAdDelegate.h │ │ │ │ ├── GADCustomEventParameters.h │ │ │ │ ├── GADCustomEventRequest.h │ │ │ │ ├── GADDebugOptionsViewController.h │ │ │ │ ├── GADDynamicHeightSearchRequest.h │ │ │ │ ├── GADExtras.h │ │ │ │ ├── GADInAppPurchase.h │ │ │ │ ├── GADInAppPurchaseDelegate.h │ │ │ │ ├── GADInterstitial.h │ │ │ │ ├── GADInterstitialDelegate.h │ │ │ │ ├── GADMediaView.h │ │ │ │ ├── GADMediatedNativeAd.h │ │ │ │ ├── GADMediatedNativeAdDelegate.h │ │ │ │ ├── GADMediatedNativeAdNotificationSource.h │ │ │ │ ├── GADMediatedNativeAppInstallAd.h │ │ │ │ ├── GADMediatedNativeContentAd.h │ │ │ │ ├── GADMobileAds.h │ │ │ │ ├── GADNativeAd.h │ │ │ │ ├── GADNativeAdDelegate.h │ │ │ │ ├── GADNativeAdImage+Mediation.h │ │ │ │ ├── GADNativeAdImage.h │ │ │ │ ├── GADNativeAdImageAdLoaderOptions.h │ │ │ │ ├── GADNativeAdViewAdOptions.h │ │ │ │ ├── GADNativeAppInstallAd.h │ │ │ │ ├── GADNativeAppInstallAdAssetIDs.h │ │ │ │ ├── GADNativeContentAd.h │ │ │ │ ├── GADNativeContentAdAssetIDs.h │ │ │ │ ├── GADNativeCustomTemplateAd.h │ │ │ │ ├── GADNativeExpressAdView.h │ │ │ │ ├── GADNativeExpressAdViewDelegate.h │ │ │ │ ├── GADRequest.h │ │ │ │ ├── GADRequestError.h │ │ │ │ ├── GADRewardBasedVideoAd.h │ │ │ │ ├── GADRewardBasedVideoAdDelegate.h │ │ │ │ ├── GADSearchBannerView.h │ │ │ │ ├── GADSearchRequest.h │ │ │ │ ├── GADVideoController.h │ │ │ │ ├── GADVideoControllerDelegate.h │ │ │ │ ├── GADVideoOptions.h │ │ │ │ ├── GoogleMobileAds.h │ │ │ │ ├── GoogleMobileAdsDefines.h │ │ │ │ └── Mediation │ │ │ │ │ ├── GADMAdNetworkAdapterProtocol.h │ │ │ │ │ ├── GADMAdNetworkConnectorProtocol.h │ │ │ │ │ ├── GADMEnums.h │ │ │ │ │ ├── GADMRewardBasedVideoAdNetworkAdapterProtocol.h │ │ │ │ │ ├── GADMRewardBasedVideoAdNetworkConnectorProtocol.h │ │ │ │ │ └── GADMediationAdRequest.h │ │ │ │ └── Modules │ │ │ │ └── module.modulemap │ │ └── wp8 │ │ │ ├── AdMobOptions.cs │ │ │ ├── AdMobPlugin.cs │ │ │ ├── GoogleAds.XML │ │ │ └── GoogleAds.dll │ ├── test │ │ ├── admob_simple.js │ │ ├── index.html │ │ └── jquery-1.9.js │ ├── typescript │ │ └── AdMob.d.ts │ └── www │ │ └── AdMob.js ├── cordova-plugin-compat │ ├── README.md │ ├── RELEASENOTES.md │ ├── package.json │ ├── plugin.xml │ └── src │ │ └── android │ │ ├── BuildHelper.java │ │ └── PermissionHelper.java ├── 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-extension │ ├── README.md │ ├── cocos2dx │ │ └── TODO │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ ├── CordovaPluginExt.java │ │ │ ├── PluginAdapterDelegate.java │ │ │ └── cordova-generic-ad.jar │ │ └── ios │ │ │ ├── CDVPluginExt.h │ │ │ ├── CDVPluginExt.m │ │ │ ├── GenericAdPlugin.h │ │ │ ├── PluginAdapterDelegate.h │ │ │ └── libCordovaGenericAd.a │ └── unity │ │ ├── PluginAdapterUnity.h │ │ ├── PluginAdapterUnity.java │ │ └── PluginAdapterUnity.m ├── cordova-plugin-file-transfer │ ├── 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 │ │ │ └── FileTransfer.java │ │ ├── android │ │ │ ├── FileProgressResult.java │ │ │ ├── FileTransfer.java │ │ │ └── FileUploadResult.java │ │ ├── ios │ │ │ ├── CDVFileTransfer.h │ │ │ └── CDVFileTransfer.m │ │ ├── ubuntu │ │ │ ├── file-transfer.cpp │ │ │ └── file-transfer.h │ │ ├── windows │ │ │ └── FileTransferProxy.js │ │ └── wp │ │ │ └── FileTransfer.cs │ ├── tests │ │ ├── hooks │ │ │ └── after_prepare.js │ │ ├── package.json │ │ ├── plugin.xml │ │ └── tests.js │ ├── types │ │ └── index.d.ts │ └── www │ │ ├── FileTransfer.js │ │ ├── FileTransferError.js │ │ ├── blackberry10 │ │ ├── .jshintrc │ │ ├── FileTransfer.js │ │ ├── FileTransferProxy.js │ │ └── xhrFileTransfer.js │ │ ├── browser │ │ └── FileTransfer.js │ │ ├── firefoxos │ │ └── FileTransferProxy.js │ │ └── wp7 │ │ └── base64.js ├── cordova-plugin-file │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── es │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── fr │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── it │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── ja │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── ko │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── pl │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ │ ├── plugins.md │ │ ├── ru │ │ │ ├── index.md │ │ │ └── plugins.md │ │ └── zh │ │ │ ├── README.md │ │ │ ├── index.md │ │ │ └── plugins.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ ├── AssetFilesystem.java │ │ │ ├── ContentFilesystem.java │ │ │ ├── DirectoryManager.java │ │ │ ├── EncodingException.java │ │ │ ├── FileExistsException.java │ │ │ ├── FileUtils.java │ │ │ ├── Filesystem.java │ │ │ ├── InvalidModificationException.java │ │ │ ├── LocalFilesystem.java │ │ │ ├── LocalFilesystemURL.java │ │ │ ├── NoModificationAllowedException.java │ │ │ ├── PendingRequests.java │ │ │ ├── TypeMismatchException.java │ │ │ └── build-extras.gradle │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── browser │ │ │ └── FileProxy.js │ │ ├── firefoxos │ │ │ └── FileProxy.js │ │ ├── ios │ │ │ ├── CDVAssetLibraryFilesystem.h │ │ │ ├── CDVAssetLibraryFilesystem.m │ │ │ ├── CDVFile.h │ │ │ ├── CDVFile.m │ │ │ ├── CDVLocalFilesystem.h │ │ │ └── CDVLocalFilesystem.m │ │ ├── osx │ │ │ ├── CDVFile.h │ │ │ ├── CDVFile.m │ │ │ ├── CDVLocalFilesystem.h │ │ │ └── CDVLocalFilesystem.m │ │ ├── ubuntu │ │ │ ├── file.cpp │ │ │ └── file.h │ │ ├── windows │ │ │ └── FileProxy.js │ │ └── wp │ │ │ └── File.cs │ ├── tests │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ └── android │ │ │ │ └── TestContentProvider.java │ │ ├── tests.js │ │ └── www │ │ │ └── fixtures │ │ │ └── asset-test │ │ │ └── asset-test.txt │ ├── types │ │ └── index.d.ts │ └── www │ │ ├── DirectoryEntry.js │ │ ├── DirectoryReader.js │ │ ├── Entry.js │ │ ├── File.js │ │ ├── FileEntry.js │ │ ├── FileError.js │ │ ├── FileReader.js │ │ ├── FileSystem.js │ │ ├── FileUploadOptions.js │ │ ├── FileUploadResult.js │ │ ├── FileWriter.js │ │ ├── Flags.js │ │ ├── LocalFileSystem.js │ │ ├── Metadata.js │ │ ├── ProgressEvent.js │ │ ├── android │ │ └── FileSystem.js │ │ ├── blackberry10 │ │ ├── .jshintrc │ │ ├── FileProxy.js │ │ ├── FileSystem.js │ │ ├── copyTo.js │ │ ├── createEntryFromNative.js │ │ ├── getDirectory.js │ │ ├── getFile.js │ │ ├── getFileMetadata.js │ │ ├── getMetadata.js │ │ ├── getParent.js │ │ ├── info.js │ │ ├── moveTo.js │ │ ├── readAsArrayBuffer.js │ │ ├── readAsBinaryString.js │ │ ├── readAsDataURL.js │ │ ├── readAsText.js │ │ ├── readEntries.js │ │ ├── remove.js │ │ ├── removeRecursively.js │ │ ├── requestAllFileSystems.js │ │ ├── requestAnimationFrame.js │ │ ├── requestFileSystem.js │ │ ├── resolveLocalFileSystemURI.js │ │ ├── setMetadata.js │ │ ├── truncate.js │ │ └── write.js │ │ ├── browser │ │ ├── FileSystem.js │ │ ├── Preparing.js │ │ └── isChrome.js │ │ ├── fileSystemPaths.js │ │ ├── fileSystems-roots.js │ │ ├── fileSystems.js │ │ ├── firefoxos │ │ └── FileSystem.js │ │ ├── ios │ │ └── FileSystem.js │ │ ├── osx │ │ └── FileSystem.js │ │ ├── requestFileSystem.js │ │ ├── resolveLocalFileSystemURI.js │ │ ├── ubuntu │ │ ├── FileSystem.js │ │ ├── FileWriter.js │ │ └── fileSystems-roots.js │ │ └── wp │ │ └── FileUploadOptions.js ├── cordova-plugin-ionic-webview │ ├── LICENSE │ ├── README.md │ ├── RELEASENOTES.md │ ├── package.json │ ├── plugin.xml │ └── src │ │ ├── ios │ │ ├── CDVWKProcessPoolFactory.h │ │ ├── CDVWKProcessPoolFactory.m │ │ ├── CDVWKWebViewEngine.h │ │ ├── CDVWKWebViewEngine.m │ │ ├── CDVWKWebViewUIDelegate.h │ │ ├── CDVWKWebViewUIDelegate.m │ │ ├── GCDWebServer │ │ │ ├── Core │ │ │ │ ├── GCDWebServer.h │ │ │ │ ├── GCDWebServer.m │ │ │ │ ├── GCDWebServerConnection.h │ │ │ │ ├── GCDWebServerConnection.m │ │ │ │ ├── GCDWebServerFunctions.h │ │ │ │ ├── GCDWebServerFunctions.m │ │ │ │ ├── GCDWebServerHTTPStatusCodes.h │ │ │ │ ├── GCDWebServerPrivate.h │ │ │ │ ├── GCDWebServerRequest.h │ │ │ │ ├── GCDWebServerRequest.m │ │ │ │ ├── GCDWebServerResponse.h │ │ │ │ └── GCDWebServerResponse.m │ │ │ ├── Requests │ │ │ │ ├── GCDWebServerDataRequest.h │ │ │ │ ├── GCDWebServerDataRequest.m │ │ │ │ ├── GCDWebServerFileRequest.h │ │ │ │ ├── GCDWebServerFileRequest.m │ │ │ │ ├── GCDWebServerMultiPartFormRequest.h │ │ │ │ ├── GCDWebServerMultiPartFormRequest.m │ │ │ │ ├── GCDWebServerURLEncodedFormRequest.h │ │ │ │ └── GCDWebServerURLEncodedFormRequest.m │ │ │ └── Responses │ │ │ │ ├── GCDWebServerDataResponse.h │ │ │ │ ├── GCDWebServerDataResponse.m │ │ │ │ ├── GCDWebServerErrorResponse.h │ │ │ │ ├── GCDWebServerErrorResponse.m │ │ │ │ ├── GCDWebServerFileResponse.h │ │ │ │ ├── GCDWebServerFileResponse.m │ │ │ │ ├── GCDWebServerStreamedResponse.h │ │ │ │ └── GCDWebServerStreamedResponse.m │ │ ├── LICENSE │ │ └── wk-plugin.js │ │ └── www │ │ └── ios │ │ └── ios-wkwebview-exec.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 │ │ ├── package.json │ │ ├── plugin.xml │ │ └── tests.js │ ├── types │ │ └── index.d.ts │ └── 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 │ │ ├── package.json │ │ ├── plugin.xml │ │ └── tests.js │ ├── types │ │ └── index.d.ts │ └── 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 ├── 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 └── onesignal-cordova-plugin │ ├── LICENSE │ ├── README.md │ ├── build-extras-onesignal.gradle │ ├── dev_testing.txt │ ├── package.json │ ├── plugin.xml │ ├── src │ ├── android │ │ └── com │ │ │ └── plugin │ │ │ └── gcm │ │ │ └── OneSignalPush.java │ ├── ios │ │ ├── OneSignalPush.h │ │ └── OneSignalPush.m │ └── windows │ │ ├── Newtonsoft.Json.dll │ │ ├── OneSignalPushProxy.js │ │ ├── OneSignalSDK_WP_WNS.dll │ │ └── OneSignalSDK_WP_WNS_WRTC.winmd │ └── www │ └── OneSignal.js ├── resources ├── README.md ├── 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.png ├── ios │ ├── icon │ │ ├── icon-1024.png │ │ ├── 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@~ipadpro.png │ │ ├── Default-Landscape~ipad.png │ │ ├── Default-Portrait@2x~ipad.png │ │ ├── Default-Portrait@~ipadpro.png │ │ ├── Default-Portrait~ipad.png │ │ ├── Default@2x~iphone.png │ │ ├── Default@2x~universal~anyany.png │ │ └── Default~iphone.png └── splash.png ├── src ├── app │ ├── app.component.ts │ ├── app.html │ ├── app.module.ts │ ├── app.scss │ └── main.ts ├── assets │ ├── i18n │ │ ├── en.json │ │ └── es.json │ ├── icon │ │ └── favicon.ico │ └── images │ │ ├── 1.jpeg │ │ ├── 2.jpeg │ │ └── 3.jpeg ├── declarations.d.ts ├── index.html ├── manifest.json ├── pages │ ├── home │ │ ├── home.html │ │ ├── home.scss │ │ └── home.ts │ ├── product-details │ │ ├── product-details.html │ │ ├── product-details.module.ts │ │ ├── product-details.scss │ │ └── product-details.ts │ ├── products-by-category │ │ ├── products-by-category.html │ │ ├── products-by-category.module.ts │ │ ├── products-by-category.scss │ │ └── products-by-category.ts │ └── products-list │ │ ├── products-list.html │ │ ├── products-list.module.ts │ │ ├── products-list.scss │ │ └── products-list.ts ├── providers │ ├── admob-pro │ │ └── admob-pro.ts │ └── woocommerce │ │ └── woocommerce.ts ├── service-worker.js └── theme │ └── variables.scss ├── tsconfig.json ├── tslint.json └── www ├── .gitkeep ├── assets ├── fonts │ ├── ionicons.eot │ ├── ionicons.scss │ ├── ionicons.svg │ ├── ionicons.ttf │ ├── ionicons.woff │ ├── ionicons.woff2 │ ├── noto-sans-bold.ttf │ ├── noto-sans-bold.woff │ ├── noto-sans-regular.ttf │ ├── noto-sans-regular.woff │ ├── noto-sans.scss │ ├── roboto-bold.ttf │ ├── roboto-bold.woff │ ├── roboto-bold.woff2 │ ├── roboto-light.ttf │ ├── roboto-light.woff │ ├── roboto-light.woff2 │ ├── roboto-medium.ttf │ ├── roboto-medium.woff │ ├── roboto-medium.woff2 │ ├── roboto-regular.ttf │ ├── roboto-regular.woff │ ├── roboto-regular.woff2 │ └── roboto.scss ├── i18n │ ├── en.json │ └── es.json ├── icon │ └── favicon.ico └── images │ ├── 1.jpeg │ ├── 1.png │ ├── 2.jpeg │ ├── 2.png │ ├── 3.jpeg │ └── 3.png ├── build ├── 0.js ├── 0.js.map ├── 1.js ├── 1.js.map ├── 2.js ├── 2.js.map ├── main.css ├── main.css.map ├── main.js ├── main.js.map ├── polyfills.js ├── sw-toolbox.js ├── vendor.js └── vendor.js.map ├── index.html ├── manifest.json └── service-worker.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | platforms 3 | -------------------------------------------------------------------------------- /.sourcemaps/0.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/products-list/products-list.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACG;AAEnD,UAAU;AAC4C;AAWtD,IAAa,sBAAsB;IAAnC;IAAqC,CAAC;IAAD,6BAAC;AAAD,CAAC;AAAzB,sBAAsB;IATlC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,wEAAgB;SACjB;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,wEAAgB,CAAC;YAC1C,4EAAgB,CAAC,OAAO,EAAE;SAC3B;KACF,CAAC;GACW,sBAAsB,CAAG;AAAH","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { ProductsListPage } from './products-list';\n\n//Check it\nimport { IonicImageLoader } from 'ionic-image-loader';\n\n@NgModule({\n declarations: [\n ProductsListPage,\n ],\n imports: [\n IonicPageModule.forChild(ProductsListPage),\n IonicImageLoader.forRoot(),\n ],\n})\nexport class ProductsListPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/products-list/products-list.module.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/1.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/products-by-category/products-by-category.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AAChD,UAAU;AAC4C;AAEU;AAahE,IAAa,4BAA4B;IAAzC;IAA2C,CAAC;IAAD,mCAAC;AAAD,CAAC;AAA/B,4BAA4B;IAVxC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,qFAAsB;SAEvB;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,qFAAsB,CAAC;YAChD,4EAAgB,CAAC,OAAO,EAAE;SAC3B;KACF,CAAC;GACW,4BAA4B,CAAG;AAAH","file":"1.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\n//Check it\nimport { IonicImageLoader } from 'ionic-image-loader';\n\nimport { ProductsByCategoryPage } from './products-by-category';\n\n\n@NgModule({\n declarations: [\n ProductsByCategoryPage,\n\n ],\n imports: [\n IonicPageModule.forChild(ProductsByCategoryPage),\n IonicImageLoader.forRoot(),\n ],\n})\nexport class ProductsByCategoryPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/products-by-category/products-by-category.module.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/2.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/product-details/product-details.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACM;AAEH;AAcnD,IAAa,oBAAoB;IAAjC;IAAmC,CAAC;IAAD,2BAAC;AAAD,CAAC;AAAvB,oBAAoB;IAZhC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,wEAAc;SACf;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,wEAAc,CAAC;YACxC,4EAAgB,CAAC,OAAO,EAAE;SAC3B;QACD,OAAO,EAAE;YACP,wEAAc;SACf;KACF,CAAC;GACW,oBAAoB,CAAG;AAAH","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { IonicImageLoader } from 'ionic-image-loader';\n\nimport { ProductDetails } from './product-details';\n\n@NgModule({\n declarations: [\n ProductDetails,\n ],\n imports: [\n IonicPageModule.forChild(ProductDetails),\n IonicImageLoader.forRoot(),\n ],\n exports: [\n ProductDetails\n ]\n})\nexport class ProductDetailsModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/product-details/product-details.module.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/main.css.map: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ionic3-woocommerce 2 | 3 | ## Include ## 4 | - [Onesignal] (https://ionicframework.com/docs/native/onesignal/) 5 | - Woocommerce Api 6 | - [AdMob Plugin Pro] (https://github.com/floatinghotpot/cordova-admob-pro) 7 | 8 | 9 | ## Woocommerce Api Key 10 | - [ Get api key ] ( https://docs.woocommerce.com/document/woocommerce-rest-api/ ) 11 | - [ Add key in project ] ( src/providers/woocommerce/woocommerce.ts ) 12 | 13 | ## Onesignal Api Key 14 | - [Get api key] (https://documentation.onesignal.com/docs/accounts-and-keys#section-keys-ids) 15 | - [Add key in project] (src/app/app.component.ts) 16 | 17 | ## AdMob Key 18 | - [Create admob account] (https://www.google.es/admob/) 19 | - [AdMob Plugin Pro] (https://github.com/floatinghotpot/cordova-admob-pro) 20 | - [Config in project] (src/providers/admob-pro/admob-pro.ts) 21 | 22 | ## How to use this template 23 | 24 | Run 25 | ```bash 26 | $ sudo npm install -g ionic cordova 27 | $ sudo npm install 28 | $ sudo ionic serve 29 | ``` 30 | 31 | 32 | ## With the Ionic CLI: 33 | 34 | Run in emulator 35 | 36 | ```bash 37 | $ ionic cordova run ios 38 | ``` 39 | 40 | Substitute ios for android if not on a Mac. 41 | 42 | 43 | ## Know issues 44 | 45 | Problems with translations -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Aldea Bambú", 3 | "app_id": "", 4 | "type": "ionic-angular", 5 | "integrations": { 6 | "cordova": {} 7 | } 8 | } -------------------------------------------------------------------------------- /plugins/android.json: -------------------------------------------------------------------------------- 1 | { 2 | "prepare_queue": { 3 | "installed": [], 4 | "uninstalled": [] 5 | }, 6 | "config_munge": { 7 | "files": {} 8 | }, 9 | "installed_plugins": { 10 | "cordova-plugin-admobpro": { 11 | "PACKAGE_NAME": "com.ac.aldeabambu" 12 | }, 13 | "cordova-plugin-file": { 14 | "PACKAGE_NAME": "com.ac.aldeabambu" 15 | }, 16 | "cordova-plugin-file-transfer": { 17 | "PACKAGE_NAME": "com.ac.aldeabambu" 18 | }, 19 | "onesignal-cordova-plugin": { 20 | "PACKAGE_NAME": "com.ac.aldeabambu" 21 | }, 22 | "cordova-plugin-device": { 23 | "PACKAGE_NAME": "com.ac.aldeabambu" 24 | }, 25 | "cordova-plugin-ionic-webview": { 26 | "PACKAGE_NAME": "com.ac.aldeabambu" 27 | }, 28 | "cordova-plugin-splashscreen": { 29 | "PACKAGE_NAME": "com.ac.aldeabambu" 30 | }, 31 | "cordova-plugin-statusbar": { 32 | "PACKAGE_NAME": "com.ac.aldeabambu" 33 | }, 34 | "cordova-plugin-whitelist": { 35 | "PACKAGE_NAME": "com.ac.aldeabambu" 36 | }, 37 | "ionic-plugin-keyboard": { 38 | "PACKAGE_NAME": "com.ac.aldeabambu" 39 | } 40 | }, 41 | "dependent_plugins": { 42 | "cordova-plugin-extension": { 43 | "PACKAGE_NAME": "com.ac.aldeabambu" 44 | }, 45 | "cordova-plugin-compat": { 46 | "PACKAGE_NAME": "com.ac.aldeabambu" 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Liming Xie 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/README.zh_cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/README.zh_cn.md -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/android.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/android.jpg -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/android_interstitial.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/android_interstitial.jpg -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/good.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/iphone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/iphone.jpg -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/iphone_interstitial.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/iphone_interstitial.jpg -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/trend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/trend.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/warning.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/youtube_video.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/youtube_video.jpg -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/docs/youtube_video0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/docs/youtube_video0.jpg -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/android/AdMobMediation.java: -------------------------------------------------------------------------------- 1 | package com.rjfun.cordova.admob; 2 | 3 | import org.json.JSONObject; 4 | import android.app.Activity; 5 | import com.google.android.gms.ads.AdRequest; 6 | 7 | public abstract class AdMobMediation { 8 | public AdMobMediation(Activity act, JSONObject options) {} 9 | public abstract AdRequest.Builder joinAdRequest(AdRequest.Builder builder); 10 | public void onPause(){} 11 | public void onResume(){} 12 | public void onDestroy(){} 13 | } 14 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/AdMobMediation.h: -------------------------------------------------------------------------------- 1 | // 2 | // AdMobMediation.h 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-20. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | #import 13 | 14 | @interface AdMobMediation : NSObject 15 | 16 | - (AdMobMediation*) initWithOptions:(NSDictionary*)options; 17 | - (void) joinAdRequest:(GADRequest*)req; 18 | - (void) onPause; 19 | - (void) onResume; 20 | - (void) onDestroy; 21 | 22 | @end 23 | 24 | // ------------------------------------------------------------- 25 | 26 | // AdMobMediationMMedia 27 | 28 | // AdMobMediationiAd, no need extras 29 | 30 | // AdMobMediationInMobi, no need extras 31 | 32 | // AdMobMediationFacebook, no need extras 33 | 34 | // AdMobMediationMobFox, no need extras 35 | 36 | // AdMobMediationFlurry, no need extras 37 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/AdMobMediation.m: -------------------------------------------------------------------------------- 1 | // 2 | // AdMobMediation.m 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-29. 6 | // 7 | // 8 | 9 | #import "AdMobMediation.h" 10 | 11 | @implementation AdMobMediation 12 | 13 | - (AdMobMediation*) initWithOptions:(NSDictionary*)options { 14 | return self; 15 | } 16 | 17 | - (void) joinAdRequest:(GADRequest*)req { 18 | 19 | } 20 | 21 | - (void) onPause { 22 | 23 | } 24 | 25 | - (void) onResume { 26 | 27 | } 28 | 29 | - (void) onDestroy { 30 | 31 | } 32 | 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/CDVAdMobPlugin.h: -------------------------------------------------------------------------------- 1 | // 2 | // CDVAdMobPlugin.h 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-20. 6 | // 7 | // 8 | 9 | #import "GenericAdPlugin.h" 10 | 11 | @interface CDVAdMobPlugin : GenericAdPlugin 12 | 13 | - (void)pluginInitialize; 14 | 15 | - (void) parseOptions:(NSDictionary *)options; 16 | - (void) __showBanner:(int) position atX:(int)x atY:(int)y; 17 | 18 | - (NSString*) __getProductShortName; 19 | - (NSString*) __getTestBannerId; 20 | - (NSString*) __getTestInterstitialId; 21 | 22 | - (UIView*) __createAdView:(NSString*)adId; 23 | - (int) __getAdViewWidth:(UIView*)view; 24 | - (int) __getAdViewHeight:(UIView*)view; 25 | - (void) __loadAdView:(UIView*)view; 26 | - (void) __pauseAdView:(UIView*)view; 27 | - (void) __resumeAdView:(UIView*)view; 28 | - (void) __destroyAdView:(UIView*)view; 29 | 30 | - (NSObject*) __createInterstitial:(NSString*)adId; 31 | - (void) __loadInterstitial:(NSObject*)interstitial; 32 | - (void) __showInterstitial:(NSObject*)interstitial; 33 | - (void) __destroyInterstitial:(NSObject*)interstitial; 34 | 35 | - (NSObject*) __prepareRewardVideoAd:(NSString*)adId; 36 | - (BOOL) __showRewardVideoAd:(NSObject*)rewardvideo; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/GoogleMobileAds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/GoogleMobileAds -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/DFPBannerViewOptions.h: -------------------------------------------------------------------------------- 1 | // 2 | // DFPBannerViewOptions.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright © 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Ad loader options for banner ads. 16 | @interface DFPBannerViewOptions : GADAdLoaderOptions 17 | 18 | /// Optional delegate that is notified if the loaded banner sends app events. 19 | @property(nonatomic, weak, GAD_NULLABLE) id appEventDelegate; 20 | 21 | /// Optional delegate that is notified if the loaded banner changes size. 22 | @property(nonatomic, weak, GAD_NULLABLE) id adSizeDelegate; 23 | 24 | /// Whether the publisher will record impressions manually when the ad becomes visible to the user. 25 | @property(nonatomic, assign) BOOL enableManualImpressions; 26 | 27 | @end 28 | 29 | GAD_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/DFPCustomRenderedAd.h: -------------------------------------------------------------------------------- 1 | // 2 | // DFPCustomRenderedAd.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2014 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// Custom rendered ad. Your application renders the ad. 15 | @interface DFPCustomRenderedAd : NSObject 16 | 17 | /// The ad's HTML. 18 | @property(nonatomic, readonly, copy) NSString *adHTML; 19 | 20 | /// The base URL of the ad's HTML. 21 | @property(nonatomic, readonly, copy) NSURL *adBaseURL; 22 | 23 | /// Call this method when the user clicks the ad. 24 | - (void)recordClick; 25 | 26 | /// Call this method when the ad is visible to the user. 27 | - (void)recordImpression; 28 | 29 | /// Call this method after the ad has been rendered in a UIView object. 30 | - (void)finishedRenderingAdView:(UIView *)view; 31 | 32 | @end 33 | 34 | GAD_ASSUME_NONNULL_END 35 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/DFPCustomRenderedBannerViewDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // DFPCustomRenderedBannerViewDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2014 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | @class DFPBannerView; 13 | @class DFPCustomRenderedAd; 14 | 15 | GAD_ASSUME_NONNULL_BEGIN 16 | 17 | /// The DFPCustomRenderedAd banner view delegate protocol for notifying the delegate of changes to 18 | /// custom rendered banners. 19 | @protocol DFPCustomRenderedBannerViewDelegate 20 | 21 | /// Called after ad data has been received. You must construct a banner from |customRenderedAd| and 22 | /// call the |customRenderedAd| object's finishedRenderingAdView: when the ad has been rendered. 23 | - (void)bannerView:(DFPBannerView *)bannerView 24 | didReceiveCustomRenderedAd:(DFPCustomRenderedAd *)customRenderedAd; 25 | 26 | @end 27 | 28 | GAD_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/DFPCustomRenderedInterstitialDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // DFPCustomRenderedInterstitialDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2014 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | @class DFPCustomRenderedAd; 13 | @class DFPInterstitial; 14 | 15 | GAD_ASSUME_NONNULL_BEGIN 16 | 17 | /// The DFPCustomRenderedAd interstitial delegate protocol for notifying the delegate of changes to 18 | /// custom rendered interstitials. 19 | @protocol DFPCustomRenderedInterstitialDelegate 20 | 21 | /// Called after ad data has been received. You must construct an interstitial from 22 | /// |customRenderedAd| and call the |customRenderedAd| object's finishedRenderingAdView: method when 23 | /// the ad has been rendered. 24 | - (void)interstitial:(DFPInterstitial *)interstitial 25 | didReceiveCustomRenderedAd:(DFPCustomRenderedAd *)customRenderedAd; 26 | 27 | @end 28 | 29 | GAD_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/DFPRequest.h: -------------------------------------------------------------------------------- 1 | // 2 | // DFPRequest.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2014 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Add this constant to the testDevices property's array to receive test ads on the simulator. 16 | GAD_EXTERN const id kDFPSimulatorID; 17 | 18 | /// Specifies optional parameters for ad requests. 19 | @interface DFPRequest : GADRequest 20 | 21 | /// Publisher provided user ID. 22 | @property(nonatomic, copy, GAD_NULLABLE) NSString *publisherProvidedID; 23 | 24 | /// Array of strings used to exclude specified categories in ad results. 25 | @property(nonatomic, copy, GAD_NULLABLE) NSArray *categoryExclusions; 26 | 27 | /// Key-value pairs used for custom targeting. 28 | @property(nonatomic, copy, GAD_NULLABLE) NSDictionary *customTargeting; 29 | 30 | /// This API is deprecated and a no-op, use an instance of GADCorrelator set on DFPInterstitial or 31 | /// DFPBannerView objects to correlate requests. 32 | + (void)updateCorrelator GAD_DEPRECATED_MSG_ATTRIBUTE( 33 | "Set GADCorrelator objects on your ads instead. This method no longer affects ad correlation."); 34 | 35 | @end 36 | 37 | GAD_ASSUME_NONNULL_END 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAdChoicesView.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAdChoicesView.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Displays AdChoices content. 16 | /// 17 | /// If a GADAdChoicesView is set on GADNativeAppInstallAdView or GADNativeContentAdView prior to 18 | /// calling -setNativeAppInstallAd: or -setNativeContentAd:, AdChoices content will render inside 19 | /// the GADAdChoicesView. By default, AdChoices is placed in the top right corner of 20 | /// GADNativeAppInstallAdView and GADNativeContentAdView. 21 | @interface GADAdChoicesView : UIView 22 | 23 | /// Native ad object that contains the AdChoices asset. Set this property to populate this view's 24 | /// content. 25 | @property(nonatomic, weak) GADNativeAd *nativeAd; 26 | 27 | @end 28 | 29 | GAD_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAdDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAdDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | GAD_ASSUME_NONNULL_BEGIN 11 | 12 | #pragma mark - Audio Control Notifications 13 | 14 | /// Delegate methods common to multiple ad types. 15 | @protocol GADAdDelegate 16 | 17 | @optional 18 | 19 | #pragma mark Audio Control Methods 20 | 21 | /// Asks the delegate if the audio session category can be changed while displaying an ad. Return NO 22 | /// to prevent the Google Mobile Ads SDK from changing the audio session category. The default 23 | /// behavior if unimplemented is to return YES. 24 | - (BOOL)ad:(id)ad shouldChangeAudioSessionToCategory:(NSString *)audioSessionCategory; 25 | 26 | @end 27 | 28 | GAD_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAdLoaderDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAdLoaderDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | @class GADAdLoader; 14 | 15 | GAD_ASSUME_NONNULL_BEGIN 16 | 17 | /// Base ad loader delegate protocol. Ad types provide extended protocols that declare methods to 18 | /// handle successful ad loads. 19 | @protocol GADAdLoaderDelegate 20 | 21 | /// Called when adLoader fails to load an ad. 22 | - (void)adLoader:(GADAdLoader *)adLoader didFailToReceiveAdWithError:(GADRequestError *)error; 23 | 24 | @optional 25 | 26 | /// Called after adLoader has finished loading. 27 | - (void)adLoaderDidFinishLoading:(GADAdLoader *)adLoader; 28 | 29 | @end 30 | 31 | GAD_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAdNetworkExtras.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAdNetworkExtras.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2012 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// An object implementing this protocol contains information set by the publisher on the client 15 | /// device for a particular ad network. 16 | /// 17 | /// Ad networks should create an 'extras' object implementing this protocol for their publishers to 18 | /// use. 19 | @protocol GADAdNetworkExtras 20 | @end 21 | 22 | GAD_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAdReward.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAdReward.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// Reward information for GADRewardBasedVideoAd ads. 15 | @interface GADAdReward : NSObject 16 | 17 | /// Type of the reward. 18 | @property(nonatomic, readonly, copy) NSString *type; 19 | 20 | /// Amount rewarded to the user. 21 | @property(nonatomic, readonly, copy) NSDecimalNumber *amount; 22 | 23 | /// Returns an initialized GADAdReward with the provided reward type and reward amount. rewardType 24 | /// and rewardAmount must not be nil. 25 | - (instancetype)initWithRewardType:(NSString *)rewardType 26 | rewardAmount:(NSDecimalNumber *)rewardAmount NS_DESIGNATED_INITIALIZER; 27 | 28 | @end 29 | 30 | GAD_ASSUME_NONNULL_END 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAdSizeDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAdSizeDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2012 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | @class GADBannerView; 14 | 15 | GAD_ASSUME_NONNULL_BEGIN 16 | 17 | /// The class implementing this protocol will be notified when the DFPBannerView changes ad size. 18 | /// Any views that may be affected by the banner size change will have time to adjust. 19 | @protocol GADAdSizeDelegate 20 | 21 | /// Called before the ad view changes to the new size. 22 | - (void)adView:(GADBannerView *)bannerView willChangeAdSizeTo:(GADAdSize)size; 23 | 24 | @end 25 | 26 | GAD_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADAppEventDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADAppEventDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2012 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | @class GADBannerView; 13 | @class GADInterstitial; 14 | 15 | GAD_ASSUME_NONNULL_BEGIN 16 | 17 | /// Implement your app event within these methods. The delegate will be notified when the SDK 18 | /// receives an app event message from the ad. 19 | @protocol GADAppEventDelegate 20 | 21 | @optional 22 | 23 | /// Called when the banner receives an app event. 24 | - (void)adView:(GADBannerView *)banner 25 | didReceiveAppEvent:(NSString *)name 26 | withInfo:(NSString *GAD_NULLABLE_TYPE)info; 27 | 28 | /// Called when the interstitial receives an app event. 29 | - (void)interstitial:(GADInterstitial *)interstitial 30 | didReceiveAppEvent:(NSString *)name 31 | withInfo:(NSString *GAD_NULLABLE_TYPE)info; 32 | 33 | @end 34 | 35 | GAD_ASSUME_NONNULL_END 36 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADCorrelator.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADCorrelator.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// Represents a correlation between multiple ads. Set an instance of this object on multiple ads to 15 | /// indicate they are being used in a common context. 16 | @interface GADCorrelator : NSObject 17 | 18 | /// Resets the correlator to force a new set of correlated ads. 19 | - (void)reset; 20 | 21 | @end 22 | 23 | GAD_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADCorrelatorAdLoaderOptions.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADCorrelatorAdLoaderOptions.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// Ad loader options for adding a correlator to a native ad request. 15 | @interface GADCorrelatorAdLoaderOptions : GADAdLoaderOptions 16 | 17 | /// Correlator object for correlating ads loaded by an ad loader to other ad objects. 18 | @property(nonatomic, strong, GAD_NULLABLE) GADCorrelator *correlator; 19 | 20 | @end 21 | 22 | GAD_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADCustomEventExtras.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADCustomEventExtras.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2012 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Create an instance of this class to set additional parameters for each custom event object. The 16 | /// additional parameters for a custom event are keyed by the custom event label. These extras are 17 | /// passed to your implementation of GADCustomEventBanner or GADCustomEventInterstitial. 18 | @interface GADCustomEventExtras : NSObject 19 | 20 | /// Set additional parameters for the custom event with label |label|. To remove additional 21 | /// parameters associated with |label|, pass in nil for |extras|. 22 | - (void)setExtras:(NSDictionary *GAD_NULLABLE_TYPE)extras forLabel:(NSString *)label; 23 | 24 | /// Retrieve the extras for |label|. 25 | - (NSDictionary *GAD_NULLABLE_TYPE)extrasForLabel:(NSString *)label; 26 | 27 | /// Removes all the extras set on this instance. 28 | - (void)removeAllExtras; 29 | 30 | /// Returns all the extras set on this instance. 31 | - (NSDictionary *)allExtras; 32 | 33 | @end 34 | 35 | GAD_ASSUME_NONNULL_END 36 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADCustomEventNativeAdDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADCustomEventNativeAdDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | GAD_ASSUME_NONNULL_BEGIN 15 | 16 | /// The delegate of the GADCustomEventNativeAd object must adopt the GADCustomEventNativeAdDelegate 17 | /// protocol. Methods in this protocol are used for native ad's custom event communication with the 18 | /// Google Mobile Ads SDK. 19 | @protocol GADCustomEventNativeAdDelegate 20 | 21 | /// Tells the delegate that the custom event ad request succeeded and loaded a native ad. 22 | - (void)customEventNativeAd:(id)customEventNativeAd 23 | didReceiveMediatedNativeAd:(id)mediatedNativeAd; 24 | 25 | /// Tells the delegate that the custom event ad request failed. 26 | - (void)customEventNativeAd:(id)customEventNativeAd 27 | didFailToLoadWithError:(NSError *)error; 28 | 29 | @end 30 | 31 | GAD_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADCustomEventParameters.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADCustomEventParameters.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// Key for getting the server parameter configured in AdMob when mediating to a custom event 15 | /// adapter. 16 | /// Example: NSString *serverParameter = connector.credentials[GADCustomEventParametersServer]. 17 | extern NSString *const GADCustomEventParametersServer; 18 | 19 | GAD_ASSUME_NONNULL_END 20 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADDebugOptionsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADDebugOptionsViewController.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | 13 | @class GADDebugOptionsViewController; 14 | 15 | GAD_ASSUME_NONNULL_BEGIN 16 | 17 | /// Delegate for the GADDebugOptionsViewController. 18 | @protocol GADDebugOptionsViewControllerDelegate 19 | /// Called when the debug options flow is finished. 20 | - (void)debugOptionsViewControllerDidDismiss:(GADDebugOptionsViewController *)controller; 21 | @end 22 | 23 | /// Displays debug options to the user. 24 | @interface GADDebugOptionsViewController : UIViewController 25 | 26 | /// Creates and returns a GADDebugOptionsViewController object initialized with the ad unit ID. 27 | /// @param adUnitID An ad unit ID for the DFP account that is being configured with debug options. 28 | + (instancetype)debugOptionsViewControllerWithAdUnitID:(NSString *)adUnitID; 29 | 30 | /// Delegate for the debug options view controller. 31 | @property(nonatomic, weak, GAD_NULLABLE) 32 | IBOutlet id delegate; 33 | 34 | @end 35 | 36 | GAD_ASSUME_NONNULL_END 37 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADExtras.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADExtras.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2012 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Ad network extras sent to Google networks. 16 | @interface GADExtras : NSObject 17 | 18 | /// Additional parameters to be sent to Google networks. 19 | @property(nonatomic, copy, GAD_NULLABLE) NSDictionary *additionalParameters; 20 | 21 | @end 22 | 23 | GAD_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADMediaView.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADMediaView.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Displays native ad media assets. 16 | /// 17 | /// To display media assets in GADNativeAppInstallAdView instances, add a GADMediaView subview and 18 | /// assign the native ad view's mediaView property. 19 | /// 20 | /// If the native ad doesn't contain a video and image loading is enabled, the GADMediaView displays 21 | /// the native ad's |images| asset's first image. 22 | /// 23 | /// If the native ad doesn't contain a video and image loading is disabled, the GADMediaView object 24 | /// is empty. 25 | @interface GADMediaView : UIView 26 | 27 | /// The associated native ad. Setting this property displays the native ad's media assets in this 28 | /// view. 29 | @property(nonatomic, weak) GADNativeAd *nativeAd; 30 | 31 | @end 32 | 33 | GAD_ASSUME_NONNULL_END 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADMediatedNativeAd.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADMediatedNativeAd.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Base protocol for mediated native ads. 16 | @protocol GADMediatedNativeAd 17 | 18 | /// Returns a delegate object that receives state change notifications. 19 | - (nullable id)mediatedNativeAdDelegate; 20 | 21 | /// Returns a dictionary of asset names and object pairs for assets that are not handled by 22 | /// properties of the GADMediatedNativeAd subclass. 23 | - (NSDictionary *GAD_NULLABLE_TYPE)extraAssets; 24 | 25 | @end 26 | 27 | GAD_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADMediatedNativeContentAd.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADMediatedNativeContentAd.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | GAD_ASSUME_NONNULL_BEGIN 15 | 16 | /// Provides methods used for constructing native content ads. 17 | @protocol GADMediatedNativeContentAd 18 | 19 | /// Primary text headline. 20 | - (NSString *GAD_NULLABLE_TYPE)headline; 21 | 22 | /// Secondary text. 23 | - (NSString *GAD_NULLABLE_TYPE)body; 24 | 25 | /// List of large images. Each object is an instance of GADNativeAdImage. 26 | - (NSArray *GAD_NULLABLE_TYPE)images; 27 | 28 | /// Small logo image. 29 | - (GADNativeAdImage *GAD_NULLABLE_TYPE)logo; 30 | 31 | /// Text that encourages user to take some action with the ad. 32 | - (NSString *GAD_NULLABLE_TYPE)callToAction; 33 | 34 | /// Identifies the advertiser. For example, the advertiser’s name or visible URL. 35 | - (NSString *GAD_NULLABLE_TYPE)advertiser; 36 | 37 | @optional 38 | 39 | /// AdChoices view. 40 | - (UIView *GAD_NULLABLE_TYPE)adChoicesView; 41 | 42 | @end 43 | 44 | GAD_ASSUME_NONNULL_END 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADNativeAd.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADNativeAd.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | @protocol GADNativeAdDelegate; 16 | 17 | /// Native ad base class. All native ad types are subclasses of this class. 18 | @interface GADNativeAd : NSObject 19 | 20 | /// Optional delegate to receive state change notifications. 21 | @property(nonatomic, weak, GAD_NULLABLE) id delegate; 22 | 23 | /// Root view controller for handling ad actions. 24 | @property(nonatomic, weak, GAD_NULLABLE) UIViewController *rootViewController; 25 | 26 | /// Dictionary of assets which aren't processed by the receiver. 27 | @property(nonatomic, readonly, copy, GAD_NULLABLE) NSDictionary *extraAssets; 28 | 29 | /// The ad network class name that fetched the current ad. For both standard and mediated Google 30 | /// AdMob ads, this method returns @"GADMAdapterGoogleAdMobAds". For ads fetched via mediation 31 | /// custom events, this method returns @"GADMAdapterCustomEvents". 32 | @property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *adNetworkClassName; 33 | 34 | @end 35 | 36 | GAD_ASSUME_NONNULL_END 37 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADNativeAdImage+Mediation.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADNativeAdImage+Mediation.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | GAD_ASSUME_NONNULL_BEGIN 12 | 13 | /// Provides additional GADNativeAdImage initializers. 14 | @interface GADNativeAdImage (MediationAdditions) 15 | 16 | /// Initializes and returns a native ad image object with the provided image. 17 | - (instancetype)initWithImage:(UIImage *)image; 18 | 19 | /// Initializes and returns a native ad image object with the provided image URL and image scale. 20 | - (instancetype)initWithURL:(NSURL *)URL scale:(CGFloat)scale; 21 | 22 | @end 23 | 24 | GAD_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADNativeAdImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADNativeAdImage.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2015 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | 13 | GAD_ASSUME_NONNULL_BEGIN 14 | 15 | /// Native ad image. 16 | @interface GADNativeAdImage : NSObject 17 | 18 | /// The image. If image autoloading is disabled, this property will be nil. 19 | @property(nonatomic, readonly, strong, GAD_NULLABLE) UIImage *image; 20 | 21 | /// The image's URL. 22 | @property(nonatomic, readonly, copy) NSURL *imageURL; 23 | 24 | /// The image's scale. 25 | @property(nonatomic, readonly, assign) CGFloat scale; 26 | 27 | @end 28 | 29 | GAD_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADNativeAdViewAdOptions.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | GAD_ASSUME_NONNULL_BEGIN 12 | 13 | /// Position of the AdChoices icon in the containing ad. 14 | typedef NS_ENUM(NSInteger, GADAdChoicesPosition) { 15 | GADAdChoicesPositionTopRightCorner, ///< Top right corner. 16 | GADAdChoicesPositionTopLeftCorner, ///< Top left corner. 17 | GADAdChoicesPositionBottomRightCorner, ///< Bottom right corner. 18 | GADAdChoicesPositionBottomLeftCorner ///< Bottom Left Corner. 19 | }; 20 | 21 | /// Ad loader options for configuring the view of native ads. 22 | @interface GADNativeAdViewAdOptions : GADAdLoaderOptions 23 | 24 | /// Indicates preferred location of AdChoices icon. Default is GADAdChoicesPositionTopRightCorner. 25 | @property(nonatomic, assign) GADAdChoicesPosition preferredAdChoicesPosition; 26 | 27 | @end 28 | 29 | GAD_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADNativeAppInstallAdAssetIDs.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADNativeAppInstallAdAssetIDs.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2017 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | GAD_EXTERN NSString *const GADNativeAppInstallHeadlineAsset; 15 | GAD_EXTERN NSString *const GADNativeAppInstallCallToActionAsset; 16 | GAD_EXTERN NSString *const GADNativeAppInstallIconAsset; 17 | GAD_EXTERN NSString *const GADNativeAppInstallBodyAsset; 18 | GAD_EXTERN NSString *const GADNativeAppInstallStoreAsset; 19 | GAD_EXTERN NSString *const GADNativeAppInstallPriceAsset; 20 | GAD_EXTERN NSString *const GADNativeAppInstallImageAsset; 21 | GAD_EXTERN NSString *const GADNativeAppInstallStarRatingAsset; 22 | GAD_EXTERN NSString *const GADNativeAppInstallAttributionIconAsset; 23 | GAD_EXTERN NSString *const GADNativeAppInstallAttributionTextAsset; 24 | GAD_EXTERN NSString *const GADNativeAppInstallMediaViewAsset; 25 | GAD_EXTERN NSString *const GADNativeAppInstallAdChoicesViewAsset; 26 | GAD_EXTERN NSString *const GADNativeAppInstallBackgroundAsset; 27 | 28 | GAD_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADNativeContentAdAssetIDs.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADNativeContentAdAssetIDs.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2017 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | GAD_EXTERN NSString *const GADNativeContentHeadlineAsset; 15 | GAD_EXTERN NSString *const GADNativeContentBodyAsset; 16 | GAD_EXTERN NSString *const GADNativeContentCallToActionAsset; 17 | GAD_EXTERN NSString *const GADNativeContentAdvertiserAsset; 18 | GAD_EXTERN NSString *const GADNativeContentImageAsset; 19 | GAD_EXTERN NSString *const GADNativeContentLogoAsset; 20 | GAD_EXTERN NSString *const GADNativeContentAttributionIconAsset; 21 | GAD_EXTERN NSString *const GADNativeContentAttributionTextAsset; 22 | GAD_EXTERN NSString *const GADNativeContentMediaViewAsset; 23 | GAD_EXTERN NSString *const GADNativeContentAdChoicesViewAsset; 24 | GAD_EXTERN NSString *const GADNativeContentBackgroundAsset; 25 | 26 | GAD_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADSearchBannerView.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADSearchBannerView.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2011 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | #import 11 | 12 | GAD_ASSUME_NONNULL_BEGIN 13 | 14 | /// A view that displays search ads. 15 | /// To show search ads: 16 | /// 1) Create a GADSearchBannerView and add it to your view controller's view hierarchy. 17 | /// 2) Create a GADSearchRequest ad request object to hold the search query and other search data. 18 | /// 3) Call GADSearchBannerView's -loadRequest: method with the GADSearchRequest object. 19 | @interface GADSearchBannerView : GADBannerView 20 | 21 | /// If the banner view is initialized with kGADAdSizeFluid and the corresponding request is created 22 | /// with dynamic height parameters, this delegate will be called when the ad size changes. 23 | @property(nonatomic, weak, GAD_NULLABLE) IBOutlet id adSizeDelegate; 24 | 25 | @end 26 | 27 | GAD_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADVideoControllerDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADVideoControllerDelegate.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright (c) 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | GAD_ASSUME_NONNULL_BEGIN 12 | 13 | /// The GADVideoControllerDelegate protocol defines methods that are called by the video controller 14 | /// object in response to the video events that occured throught the lifetime of the video rendered 15 | /// by an ad. 16 | @protocol GADVideoControllerDelegate 17 | 18 | @optional 19 | 20 | /// Tells the delegate that the video controller has began or resumed playing a video. 21 | - (void)videoControllerDidPlayVideo:(GADVideoController *)videoController; 22 | 23 | /// Tells the delegate that the video controller has paused video. 24 | - (void)videoControllerDidPauseVideo:(GADVideoController *)videoController; 25 | 26 | /// Tells the delegate that the video controller's video playback has ended. 27 | - (void)videoControllerDidEndVideoPlayback:(GADVideoController *)videoController; 28 | 29 | /// Tells the delegate that the video controller has muted video. 30 | - (void)videoControllerDidMuteVideo:(GADVideoController *)videoController; 31 | 32 | /// Tells the delegate that the video controller has unmuted video. 33 | - (void)videoControllerDidUnmuteVideo:(GADVideoController *)videoController; 34 | 35 | @end 36 | 37 | GAD_ASSUME_NONNULL_END 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/GADVideoOptions.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADVideoOptions.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2016 Google Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | GAD_ASSUME_NONNULL_BEGIN 12 | 13 | /// Video ad options. 14 | @interface GADVideoOptions : GADAdLoaderOptions 15 | 16 | /// Indicates if videos should start muted. By default this property value is YES. 17 | @property(nonatomic, assign) BOOL startMuted; 18 | 19 | /// Indicates if the requested video should have custom controls enabled for play/pause/mute/unmute. 20 | @property(nonatomic, assign) BOOL customControlsRequested; 21 | 22 | @end 23 | 24 | GAD_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/ios/GoogleMobileAds.framework/Headers/Mediation/GADMEnums.h: -------------------------------------------------------------------------------- 1 | // 2 | // GADMEnums.h 3 | // Google Mobile Ads SDK 4 | // 5 | // Copyright 2011 Google. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | /// These are the types of animation we employ for transitions between two mediated ads. 11 | typedef NS_ENUM(NSInteger, GADMBannerAnimationType) { 12 | kGADMBannerAnimationTypeNone = 0, ///< No animation. 13 | kGADMBannerAnimationTypeFlipFromLeft = 1, ///< Flip from left. 14 | kGADMBannerAnimationTypeFlipFromRight = 2, ///< Flip from right. 15 | kGADMBannerAnimationTypeCurlUp = 3, ///< Curl up. 16 | kGADMBannerAnimationTypeCurlDown = 4, ///< Curl down. 17 | kGADMBannerAnimationTypeSlideFromLeft = 5, ///< Slide from left. 18 | kGADMBannerAnimationTypeSlideFromRight = 6, ///< Slide from right. 19 | kGADMBannerAnimationTypeFadeIn = 7, ///< Fade in. 20 | kGADMBannerAnimationTypeRandom = 8, ///< Random animation. 21 | }; 22 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/wp8/AdMobOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Cordova.Extension.Commands 4 | { 5 | public class AdMobOptions 6 | { 7 | public string adId { get; set; } 8 | public bool? autoShow { get; set; } 9 | 10 | public bool? isTesting { get; set; } 11 | public bool? logVerbose { get; set; } 12 | 13 | public string adSize { get; set; } 14 | public int? width { get; set; } 15 | public int? height { get; set; } 16 | 17 | public bool? overlap { get; set; } 18 | public bool? orientationRenew { get; set; } 19 | 20 | public int? position { get; set; } 21 | public int? x { get; set; } 22 | public int? y { get; set; } 23 | 24 | public string bannerId { get; set; } 25 | public string interstitialId { get; set; } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-admobpro/src/wp8/GoogleAds.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-admobpro/src/wp8/GoogleAds.dll -------------------------------------------------------------------------------- /plugins/cordova-plugin-compat/RELEASENOTES.md: -------------------------------------------------------------------------------- 1 | 21 | # Release Notes 22 | 23 | ### 1.2.0 (Sep 18, 2017) 24 | * [CB-12730](https://issues.apache.org/jira/browse/CB-12730) Integrate this plugin into `cordova-android@6.3.0` and deprecate this plugin as it is no longer needed. 25 | * [CB-12730](https://issues.apache.org/jira/browse/CB-12730) Prevent plugin from installing with `cordova-android >= 6.3.0` 26 | 27 | ### 1.1.0 (Nov 02, 2016) 28 | * [CB-11625](https://issues.apache.org/jira/browse/CB-11625) Adding the `BuildConfig` fetching code as a backup to using a new preference 29 | * Add github pull request template 30 | 31 | ### 1.0.0 (Apr 15, 2016) 32 | * Initial release 33 | * Moved `PermissionHelper.java` into `src` 34 | -------------------------------------------------------------------------------- /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/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-extension/cocos2dx/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-extension/cocos2dx/TODO -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/src/android/PluginAdapterDelegate.java: -------------------------------------------------------------------------------- 1 | package com.rjfun.cordova.ext; 2 | 3 | import org.apache.cordova.CallbackContext; 4 | import org.apache.cordova.PluginResult; 5 | 6 | import android.app.Activity; 7 | import android.view.View; 8 | 9 | public interface PluginAdapterDelegate { 10 | // context 11 | public Activity getActivity(); 12 | public View getView(); 13 | 14 | // send message from plugin to container on events 15 | public void fireEvent(String obj, String eventName, String jsonData); 16 | 17 | // send call result 18 | public void sendPluginResult(PluginResult result, CallbackContext context); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/src/android/cordova-generic-ad.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-extension/src/android/cordova-generic-ad.jar -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/src/ios/CDVPluginExt.h: -------------------------------------------------------------------------------- 1 | // 2 | // CDVPluginExt.h 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-28. 6 | // 7 | // 8 | 9 | #import "PluginAdapterDelegate.h" 10 | 11 | @interface CDVPluginExt : CDVPlugin 12 | 13 | @property(nonatomic, retain) id adapter; 14 | 15 | - (UIView*) getView; 16 | - (UIViewController*) getViewController; 17 | - (void) fireEvent:(NSString *)obj event:(NSString *)eventName withData:(NSString *)jsonStr; 18 | - (void) sendPluginResult:(CDVPluginResult *)result to:(NSString *)callbackId; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/src/ios/PluginAdapterDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // PluginAdapterDelegate.h 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-20. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @protocol PluginAdapterDelegate 13 | 14 | - (UIView*) getView; 15 | 16 | - (UIViewController*) getViewController; 17 | 18 | - (void) fireEvent:(NSString*)obj event:(NSString*)eventName withData:(NSString*)jsonStr; 19 | 20 | - (void) sendPluginResult:(CDVPluginResult*)result to:(NSString*)callbackId; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/src/ios/libCordovaGenericAd.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/cordova-plugin-extension/src/ios/libCordovaGenericAd.a -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/unity/PluginAdapterUnity.h: -------------------------------------------------------------------------------- 1 | // 2 | // PluginAdapterUnity.h 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-31. 6 | // 7 | // 8 | 9 | #import "PluginAdapterDelegate.h" 10 | 11 | @interface PluginAdapterUnity : NSObject 12 | 13 | - (UIView*) getView; 14 | 15 | - (UIViewController*) getViewController; 16 | 17 | - (void) fireEvent:(NSString*)obj event:(NSString*)eventName withData:(NSString*)jsonStr; 18 | 19 | - (void) sendPluginResult:(CDVPluginResult*)result to:(NSString*)callbackId; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-extension/unity/PluginAdapterUnity.m: -------------------------------------------------------------------------------- 1 | // 2 | // PluginAdapterUnity.m 3 | // TestAdMobCombo 4 | // 5 | // Created by Xie Liming on 14-10-31. 6 | // 7 | // 8 | 9 | #import "PluginAdapterUnity.h" 10 | /* 11 | void UnityPause( bool pause ); 12 | 13 | void UnitySendMessage( const char * className, const char * methodName, const char * param ); 14 | 15 | UIViewController *UnityGetGLViewController(); 16 | 17 | @implementation PluginAdapterUnity 18 | 19 | - (UIView*) getView 20 | { 21 | return [self getViewController].view; 22 | } 23 | 24 | - (UIViewController*) getViewController 25 | { 26 | return UnityGetGLViewController(); 27 | } 28 | 29 | - (void) fireEvent:(NSString*)obj event:(NSString*)eventName withData:(NSString*)jsonStr 30 | { 31 | const char * className = obj ? obj.UTF8String : "Cordova"; 32 | const char * methodName = eventName ? eventName.UTF8String : "onEvent"; 33 | const char * param = jsonStr ? jsonStr.UTF8String : ""; 34 | 35 | UnitySendMessage(className, methodName, param); 36 | } 37 | 38 | - (void) sendPluginResult:(CDVPluginResult*)result to:(NSString*)callbackId 39 | { 40 | NSMutableString* jsonData = [NSMutableString string]; 41 | [jsonData appendFormat: @"{\"callbackId\":\"%@\",\"status\":%d, \"keepCallback\":%d", callbackId, (int)result.status, (int)result.keepCallback ]; 42 | [jsonData appendString: @",\"data\":"]; 43 | [jsonData appendString: [result argumentsAsJSON]]; 44 | [jsonData appendString: @"}"]; 45 | 46 | UnitySendMessage("Cordova", "onExecuteCallback", jsonData.UTF8String); 47 | } 48 | 49 | @end 50 | */ -------------------------------------------------------------------------------- /plugins/cordova-plugin-file-transfer/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-file-transfer/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 | 7 | This product includes a copy of OkHttp from: 8 | https://github.com/square/okhttp 9 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file-transfer/tests/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-file-transfer-tests", 3 | "version": "1.6.3-dev", 4 | "description": "", 5 | "cordova": { 6 | "id": "cordova-plugin-file-transfer-tests", 7 | "platforms": [] 8 | }, 9 | "keywords": [ 10 | "ecosystem:cordova" 11 | ], 12 | "author": "", 13 | "license": "Apache 2.0" 14 | } 15 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file-transfer/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 25 | Cordova File Transfer Plugin Tests 26 | Apache 2.0 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file-transfer/www/FileTransferError.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 | /** 23 | * FileTransferError 24 | * @constructor 25 | */ 26 | var FileTransferError = function(code, source, target, status, body, exception) { 27 | this.code = code || null; 28 | this.source = source || null; 29 | this.target = target || null; 30 | this.http_status = status || null; 31 | this.body = body || null; 32 | this.exception = exception || null; 33 | }; 34 | 35 | FileTransferError.FILE_NOT_FOUND_ERR = 1; 36 | FileTransferError.INVALID_URL_ERR = 2; 37 | FileTransferError.CONNECTION_ERR = 3; 38 | FileTransferError.ABORT_ERR = 4; 39 | FileTransferError.NOT_MODIFIED_ERR = 5; 40 | 41 | module.exports = FileTransferError; 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file-transfer/www/blackberry10/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "globals": { 3 | "requestAnimationFrame": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file-transfer/www/blackberry10/FileTransferProxy.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 | /* 23 | * FileTransferProxy 24 | * 25 | * Register all FileTransfer exec calls to be handled by proxy 26 | */ 27 | 28 | var xhrFileTransfer = require('cordova-plugin-file-transfer.xhrFileTransfer'); 29 | 30 | module.exports = { 31 | abort: xhrFileTransfer.abort, 32 | download: xhrFileTransfer.download, 33 | upload: xhrFileTransfer.upload 34 | }; 35 | 36 | require('cordova/exec/proxy').add('FileTransfer', module.exports); 37 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/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-file/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-file/src/android/EncodingException.java: -------------------------------------------------------------------------------- 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 | package org.apache.cordova.file; 21 | 22 | @SuppressWarnings("serial") 23 | public class EncodingException extends Exception { 24 | 25 | public EncodingException(String message) { 26 | super(message); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/android/FileExistsException.java: -------------------------------------------------------------------------------- 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 | package org.apache.cordova.file; 21 | 22 | @SuppressWarnings("serial") 23 | public class FileExistsException extends Exception { 24 | 25 | public FileExistsException(String msg) { 26 | super(msg); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/android/InvalidModificationException.java: -------------------------------------------------------------------------------- 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 | package org.apache.cordova.file; 22 | 23 | @SuppressWarnings("serial") 24 | public class InvalidModificationException extends Exception { 25 | 26 | public InvalidModificationException(String message) { 27 | super(message); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/android/NoModificationAllowedException.java: -------------------------------------------------------------------------------- 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 | package org.apache.cordova.file; 21 | 22 | @SuppressWarnings("serial") 23 | public class NoModificationAllowedException extends Exception { 24 | 25 | public NoModificationAllowedException(String message) { 26 | super(message); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/android/TypeMismatchException.java: -------------------------------------------------------------------------------- 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 | package org.apache.cordova.file; 22 | 23 | @SuppressWarnings("serial") 24 | public class TypeMismatchException extends Exception { 25 | 26 | public TypeMismatchException(String message) { 27 | super(message); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/ios/CDVAssetLibraryFilesystem.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 "CDVFile.h" 21 | 22 | extern NSString* const kCDVAssetsLibraryPrefix; 23 | extern NSString* const kCDVAssetsLibraryScheme; 24 | 25 | @interface CDVAssetLibraryFilesystem : NSObject { 26 | } 27 | 28 | - (id) initWithName:(NSString *)name; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/ios/CDVLocalFilesystem.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 "CDVFile.h" 21 | 22 | @interface CDVLocalFilesystem : NSObject { 23 | NSString *_name; 24 | NSString *_fsRoot; 25 | } 26 | 27 | - (id) initWithName:(NSString *)name root:(NSString *)fsRoot; 28 | + (NSString*)getMimeTypeFromPath:(NSString*)fullPath; 29 | 30 | @property (nonatomic,strong) NSString *fsRoot; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/src/osx/CDVLocalFilesystem.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 "CDVFile.h" 21 | 22 | @interface CDVLocalFilesystem : NSObject { 23 | NSString *_name; 24 | NSString *_fsRoot; 25 | } 26 | 27 | - (id) initWithName:(NSString *)name root:(NSString *)fsRoot; 28 | + (NSString*)getMimeTypeFromPath:(NSString*)fullPath; 29 | 30 | @property (nonatomic,strong) NSString *fsRoot; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/tests/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-file-tests", 3 | "version": "4.3.3-dev", 4 | "description": "", 5 | "cordova": { 6 | "id": "cordova-plugin-file-tests", 7 | "platforms": [ 8 | "android" 9 | ] 10 | }, 11 | "keywords": [ 12 | "ecosystem:cordova", 13 | "cordova-android" 14 | ], 15 | "author": "", 16 | "license": "Apache 2.0" 17 | } 18 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/tests/www/fixtures/asset-test/asset-test.txt: -------------------------------------------------------------------------------- 1 | This file is here for testing purposes -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/FileUploadResult.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 | /** 23 | * FileUploadResult 24 | * @constructor 25 | */ 26 | module.exports = function FileUploadResult(size, code, content) { 27 | this.bytesSent = size; 28 | this.responseCode = code; 29 | this.response = content; 30 | }; -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/Flags.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 | /** 23 | * Supplies arguments to methods that lookup or create files and directories. 24 | * 25 | * @param create 26 | * {boolean} file or directory if it doesn't exist 27 | * @param exclusive 28 | * {boolean} used with create; if true the command will fail if 29 | * target path exists 30 | */ 31 | function Flags(create, exclusive) { 32 | this.create = create || false; 33 | this.exclusive = exclusive || false; 34 | } 35 | 36 | module.exports = Flags; 37 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/LocalFileSystem.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 | exports.TEMPORARY = 0; 23 | exports.PERSISTENT = 1; 24 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/Metadata.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 | /** 23 | * Information about the state of the file or directory 24 | * 25 | * {Date} modificationTime (readonly) 26 | */ 27 | var Metadata = function(metadata) { 28 | if (typeof metadata == "object") { 29 | this.modificationTime = new Date(metadata.modificationTime); 30 | this.size = metadata.size || 0; 31 | } else if (typeof metadata == "undefined") { 32 | this.modificationTime = null; 33 | this.size = 0; 34 | } else { 35 | /* Backwards compatiblity with platforms that only return a timestamp */ 36 | this.modificationTime = new Date(metadata); 37 | } 38 | }; 39 | 40 | module.exports = Metadata; 41 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/blackberry10/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "globals": { 3 | "requestAnimationFrame": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/blackberry10/moveTo.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 | /* 23 | * moveTo 24 | * 25 | * IN: 26 | * args 27 | * 0 - URL of entry to move 28 | * 1 - URL of the directory into which to move the entry 29 | * 2 - the new name of the entry, defaults to the current name 30 | * OUT: 31 | * success - entry for the copied file or directory 32 | * fail - FileError 33 | */ 34 | 35 | var copy = cordova.require('cordova-plugin-file.copyToProxy'); 36 | 37 | module.exports = function (success, fail, args) { 38 | copy(success, fail, args, true); 39 | }; 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/blackberry10/requestAnimationFrame.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 | /* 23 | * requestAnimationFrame 24 | * 25 | * This is used throughout the BB10 File implementation to wrap 26 | * native webkit calls. There is a bug in the webkit implementation 27 | * which causes callbacks to never return when multiple file system 28 | * APIs are called in sequence. This should also make the UI more 29 | * responsive during file operations. 30 | * 31 | * Supported on BB10 OS > 10.1 32 | */ 33 | 34 | var requestAnimationFrame = window.requestAnimationFrame; 35 | if (typeof(requestAnimationFrame) !== 'function') { 36 | requestAnimationFrame = function (cb) { cb(); }; 37 | } 38 | module.exports = requestAnimationFrame; 39 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/blackberry10/setMetadata.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 | /* 23 | * setMetadata 24 | * 25 | * BB10 OS does not support setting file metadata via HTML5 File System 26 | */ 27 | 28 | module.exports = function (success, fail, args) { 29 | console.error("setMetadata not supported on BB10", arguments); 30 | if (typeof(fail) === 'function') { 31 | fail(); 32 | } 33 | }; 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/browser/FileSystem.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 FILESYSTEM_PREFIX: true, module*/ 23 | 24 | FILESYSTEM_PREFIX = "file:///"; 25 | 26 | module.exports = { 27 | __format__: function(fullPath) { 28 | return (FILESYSTEM_PREFIX + this.name + (fullPath[0] === '/' ? '' : '/') + FileSystem.encodeURIPath(fullPath)); 29 | } 30 | }; 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/browser/isChrome.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 | module.exports = function () { 23 | // window.webkitRequestFileSystem and window.webkitResolveLocalFileSystemURL are available only in Chrome and 24 | // possibly a good flag to indicate that we're running in Chrome 25 | return window.webkitRequestFileSystem && window.webkitResolveLocalFileSystemURL; 26 | }; 27 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/fileSystems.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 | // Overridden by Android, BlackBerry 10 and iOS to populate fsMap. 23 | module.exports.getFs = function(name, callback) { 24 | callback(null); 25 | }; 26 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/firefoxos/FileSystem.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 | FILESYSTEM_PREFIX = "file:///"; 23 | 24 | module.exports = { 25 | __format__: function(fullPath) { 26 | return (FILESYSTEM_PREFIX + this.name + (fullPath[0] === '/' ? '' : '/') + FileSystem.encodeURIPath(fullPath)); 27 | } 28 | }; 29 | 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/ios/FileSystem.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 | FILESYSTEM_PROTOCOL = "cdvfile"; 23 | 24 | module.exports = { 25 | __format__: function(fullPath) { 26 | var path = ('/'+this.name+(fullPath[0]==='/'?'':'/')+FileSystem.encodeURIPath(fullPath)).replace('//','/'); 27 | return FILESYSTEM_PROTOCOL + '://localhost' + path; 28 | } 29 | }; 30 | 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/osx/FileSystem.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 | FILESYSTEM_PROTOCOL = "cdvfile"; 23 | 24 | module.exports = { 25 | __format__: function(fullPath) { 26 | var path = ('/'+this.name+(fullPath[0]==='/'?'':'/')+FileSystem.encodeURIPath(fullPath)).replace('//','/'); 27 | return FILESYSTEM_PROTOCOL + '://localhost' + path; 28 | } 29 | }; 30 | 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-file/www/ubuntu/FileSystem.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 | FILESYSTEM_PROTOCOL = "cdvfile"; 23 | 24 | module.exports = { 25 | __format__: function(fullPath) { 26 | if (this.name === 'content') { 27 | return 'content:/' + fullPath; 28 | } 29 | var path = ('/' + this.name + (fullPath[0] === '/' ? '' : '/') + FileSystem.encodeURIPath(fullPath)).replace('//','/'); 30 | 31 | return FILESYSTEM_PROTOCOL + '://localhost' + path; 32 | } 33 | }; 34 | 35 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-ionic-webview/src/ios/CDVWKProcessPoolFactory.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 CDVWKProcessPoolFactory : NSObject 23 | @property (nonatomic, retain) WKProcessPool* sharedPool; 24 | 25 | +(instancetype) sharedFactory; 26 | -(WKProcessPool*) sharedProcessPool; 27 | @end 28 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-ionic-webview/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-ionic-webview/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-ionic-webview/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-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/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/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/.npmignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /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/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/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/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen-tests", 3 | "version": "4.0.3-dev", 4 | "description": "", 5 | "cordova": { 6 | "id": "cordova-plugin-splashscreen-tests", 7 | "platforms": [] 8 | }, 9 | "keywords": [ 10 | "ecosystem:cordova" 11 | ], 12 | "author": "", 13 | "license": "Apache 2.0" 14 | } 15 | -------------------------------------------------------------------------------- /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/types/index.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Splashscreen plugin 2 | // Project: https://github.com/apache/cordova-plugin-splashscreen 3 | // Definitions by: Microsoft Open Technologies Inc 4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies Inc 7 | // Licensed under the MIT license. 8 | 9 | interface Navigator { 10 | /** This plugin displays and hides a splash screen during application launch. */ 11 | splashscreen: { 12 | /** Dismiss the splash screen. */ 13 | hide(): void; 14 | /** Displays the splash screen. */ 15 | show(): void; 16 | } 17 | } -------------------------------------------------------------------------------- /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/tests/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-statusbar-tests", 3 | "version": "2.2.3-dev", 4 | "description": "", 5 | "cordova": { 6 | "id": "cordova-plugin-statusbar-tests", 7 | "platforms": [] 8 | }, 9 | "keywords": [ 10 | "ecosystem:cordova" 11 | ], 12 | "author": "", 13 | "license": "Apache 2.0" 14 | } 15 | -------------------------------------------------------------------------------- /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/ionic-plugin-keyboard/src/blackberry10/native/device/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.cpp -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.h -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/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/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /plugins/onesignal-cordova-plugin/README.md: -------------------------------------------------------------------------------- 1 | ### OneSignal Cordova Push Notification Plugin 2 | [![npm version](https://img.shields.io/npm/v/onesignal-cordova-plugin.svg)](https://www.npmjs.com/package/onesignal-cordova-plugin) 3 | [![npm downloads](https://img.shields.io/npm/dm/onesignal-cordova-plugin.svg)](https://www.npmjs.com/package/onesignal-cordova-plugin) 4 | 5 | OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your PhoneGap CLI, PhoneGap Build, Cordova, Ionic, Intel XDK or Sencha Touch app with OneSignal. Supports Android, iOS, Windows Phone 8.1 (WP8.1), and Amazon's Fire OS platforms. 6 | 7 | - See https://documentation.onesignal.com/docs/phonegap-sdk for setup documentation. 8 | -------------------------------------------------------------------------------- /plugins/onesignal-cordova-plugin/dev_testing.txt: -------------------------------------------------------------------------------- 1 | ## Windows 2 | 3 | cordova platform add android 4 | 5 | cordova plugin rm onesignal-cordova-plugin 6 | cordova plugin add C:\OneSignalRepos\OneSignal-Cordova-SDK --save 7 | cordova build android 8 | adb -s ZX1G22WFGX install -r platforms/android/build/outputs/apk/android-debug.apk 9 | 10 | 11 | ### macOS 12 | 13 | cordova platform add ios 14 | 15 | cordova plugin rm onesignal-cordova-plugin 16 | cordova plugin add /Users/josh/Documents/OneSignalRepos/OneSignal-Cordova-SDK --save 17 | cordova build ios 18 | open platforms/ios/HelloCordova.xcworkspace -------------------------------------------------------------------------------- /plugins/onesignal-cordova-plugin/src/windows/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/onesignal-cordova-plugin/src/windows/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /plugins/onesignal-cordova-plugin/src/windows/OneSignalSDK_WP_WNS.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/onesignal-cordova-plugin/src/windows/OneSignalSDK_WP_WNS.dll -------------------------------------------------------------------------------- /plugins/onesignal-cordova-plugin/src/windows/OneSignalSDK_WP_WNS_WRTC.winmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/plugins/onesignal-cordova-plugin/src/windows/OneSignalSDK_WP_WNS_WRTC.winmd -------------------------------------------------------------------------------- /resources/README.md: -------------------------------------------------------------------------------- 1 | These are Cordova resources. You can replace icon.png and splash.png and run 2 | `ionic cordova resources` to generate custom icons and splash screens for your 3 | app. See `ionic cordova resources --help` for details. 4 | 5 | Cordova reference documentation: 6 | 7 | - Icons: https://cordova.apache.org/docs/en/latest/config_ref/images.html 8 | - Splash Screens: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/ 9 | -------------------------------------------------------------------------------- /resources/android/icon/drawable-hdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/icon/drawable-hdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-ldpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/icon/drawable-ldpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-mdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/icon/drawable-mdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/icon/drawable-xhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/icon/drawable-xxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/icon/drawable-xxxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-land-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-land-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-land-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-land-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-land-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-land-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-port-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-port-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-port-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-port-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-port-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/android/splash/drawable-port-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-1024.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-40.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-40@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-40@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-50.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-50@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-60.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-60@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-60@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-72.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-72@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-76.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-76@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-83.5@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-small.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-small@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon-small@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/icon/icon@2x.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-667h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Landscape@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Portrait@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~universal~anyany.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default@2x~universal~anyany.png -------------------------------------------------------------------------------- /resources/ios/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/ios/splash/Default~iphone.png -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/resources/splash.png -------------------------------------------------------------------------------- /src/app/app.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ 'PAGES' | translate }} 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/app/app.scss: -------------------------------------------------------------------------------- 1 | // http://ionicframework.com/docs/theming/ 2 | 3 | 4 | // App Global Sass 5 | // -------------------------------------------------- 6 | // Put style rules here that you want to apply globally. These 7 | // styles are for the entire app and not just one component. 8 | // Additionally, this file can be also used as an entry point 9 | // to import other Sass files to be included in the output CSS. 10 | // 11 | // Shared Sass variables, which can be used to adjust Ionic's 12 | // default Sass variables, belong in "theme/variables.scss". 13 | // 14 | // To declare rules for a specific mode, create a child rule 15 | // for the .md, .ios, or .wp mode classes. The mode class is 16 | // automatically applied to the element in the app. 17 | 18 | 19 | ion-slides{ 20 | height: auto; 21 | } 22 | 23 | .item-md ion-thumbnail{ 24 | display: flex; 25 | align-items: center; 26 | img-loader img{ 27 | height: auto; 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /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/i18n/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "PAGES": "Pages", 3 | "LOADING" : "Loading please wait...", 4 | "REVIEWS" : "Reviews", 5 | "HOME": "Home", 6 | "PRODUCTS" : "Products" 7 | } 8 | -------------------------------------------------------------------------------- /src/assets/i18n/es.json: -------------------------------------------------------------------------------- 1 | { 2 | "PAGES": "Paginas", 3 | "LOADING" : "Cargado por favor espere...", 4 | "REVIEWS" : "Comentarios", 5 | "HOME": "Inicio", 6 | "PRODUCTS" : "Productos" 7 | } 8 | -------------------------------------------------------------------------------- /src/assets/icon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/src/assets/icon/favicon.ico -------------------------------------------------------------------------------- /src/assets/images/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/src/assets/images/1.jpeg -------------------------------------------------------------------------------- /src/assets/images/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/src/assets/images/2.jpeg -------------------------------------------------------------------------------- /src/assets/images/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/src/assets/images/3.jpeg -------------------------------------------------------------------------------- /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 | 5 | A wildcard module is declared below to allow third party libraries to be used in an app even if they don't 6 | provide their own type declarations. 7 | 8 | To learn more about using third party libraries in an Ionic app, check out the docs here: 9 | http://ionicframework.com/docs/v2/resources/third-party-libs/ 10 | 11 | For more info on type definition files, check out the Typescript docs here: 12 | https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html 13 | */ 14 | declare module '*'; 15 | declare module 'imgcache.js'; 16 | -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic", 3 | "short_name": "Ionic", 4 | "start_url": "index.html", 5 | "display": "standalone", 6 | "icons": [{ 7 | "src": "assets/imgs/logo.png", 8 | "sizes": "512x512", 9 | "type": "image/png" 10 | }], 11 | "background_color": "#4e8ef7", 12 | "theme_color": "#4e8ef7" 13 | } -------------------------------------------------------------------------------- /src/pages/home/home.scss: -------------------------------------------------------------------------------- 1 | page-home { 2 | .feature_home{ 3 | position: relative; 4 | h1{ 5 | position: absolute; 6 | top: 0; 7 | left: 0; 8 | font-size: 1.5rem; 9 | padding: 5px 10px; 10 | background: #ff5a5f; 11 | color: #fff; 12 | font-weight: bold; 13 | opacity: 0.9; 14 | box-shadow: 1px 2px 7px 2px #6c6b6b; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/pages/product-details/product-details.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { IonicImageLoader } from 'ionic-image-loader'; 4 | 5 | import { ProductDetails } from './product-details'; 6 | 7 | @NgModule({ 8 | declarations: [ 9 | ProductDetails, 10 | ], 11 | imports: [ 12 | IonicPageModule.forChild(ProductDetails), 13 | IonicImageLoader.forRoot(), 14 | ], 15 | exports: [ 16 | ProductDetails 17 | ] 18 | }) 19 | export class ProductDetailsModule {} 20 | -------------------------------------------------------------------------------- /src/pages/product-details/product-details.scss: -------------------------------------------------------------------------------- 1 | page-product-details { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/product-details/product-details.ts: -------------------------------------------------------------------------------- 1 | import {ViewChild,Component} from '@angular/core'; 2 | import {Slides, IonicPage, NavController , NavParams} from 'ionic-angular'; 3 | import { TranslateService } from "@ngx-translate/core"; 4 | 5 | import {WooCommerceProvider} from '../../providers/woocommerce/woocommerce'; 6 | 7 | @IonicPage({}) 8 | @Component({selector: 'page-product-details', templateUrl: 'product-details.html'}) 9 | 10 | export class ProductDetails { 11 | 12 | @ViewChild(Slides)slides : Slides; 13 | 14 | public product : any; 15 | private wooCommerce : any; 16 | public reviews : any[] = []; 17 | 18 | constructor( 19 | public navCtrl: NavController, 20 | public navParams : NavParams, 21 | private wooProvider : WooCommerceProvider, 22 | public translate: TranslateService) { 23 | 24 | this.wooCommerce = wooProvider.WooCommerce; 25 | 26 | this.product = this.navParams.get("product"); 27 | 28 | if(this.product){ 29 | //Get reviews 30 | 31 | this.wooCommerce.getAsync('products/' + this.product.id + '/reviews') 32 | .then((data) => { 33 | this.reviews = JSON.parse(data.body); 34 | }, (err) => { 35 | console.log(err); 36 | }) 37 | } 38 | } 39 | 40 | //Slider options 41 | ngAfterViewInit() { 42 | this.slides.autoHeight = true; 43 | this.slides.pager = true; 44 | this.slides.autoplay = 3000; 45 | this.slides.loop = true; 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/pages/products-by-category/products-by-category.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | {{ category.name }} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |

{{ product.title }}

23 | 24 |

25 | 26 | 27 |

28 | 29 | 32 |
33 |
34 | 35 | 36 | 37 |
38 | -------------------------------------------------------------------------------- /src/pages/products-by-category/products-by-category.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | //Check it 4 | import { IonicImageLoader } from 'ionic-image-loader'; 5 | 6 | import { ProductsByCategoryPage } from './products-by-category'; 7 | 8 | 9 | @NgModule({ 10 | declarations: [ 11 | ProductsByCategoryPage, 12 | 13 | ], 14 | imports: [ 15 | IonicPageModule.forChild(ProductsByCategoryPage), 16 | IonicImageLoader.forRoot(), 17 | ], 18 | }) 19 | export class ProductsByCategoryPageModule {} 20 | -------------------------------------------------------------------------------- /src/pages/products-by-category/products-by-category.scss: -------------------------------------------------------------------------------- 1 | page-products-by-category { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/products-list/products-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | Products 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |

{{ category.name }}

19 |

{{ category.description }}

20 |
21 | 22 |
23 |
24 | -------------------------------------------------------------------------------- /src/pages/products-list/products-list.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { ProductsListPage } from './products-list'; 4 | 5 | //Check it 6 | import { IonicImageLoader } from 'ionic-image-loader'; 7 | 8 | @NgModule({ 9 | declarations: [ 10 | ProductsListPage, 11 | ], 12 | imports: [ 13 | IonicPageModule.forChild(ProductsListPage), 14 | IonicImageLoader.forRoot(), 15 | ], 16 | }) 17 | export class ProductsListPageModule {} 18 | -------------------------------------------------------------------------------- /src/pages/products-list/products-list.scss: -------------------------------------------------------------------------------- 1 | page-products-list { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/providers/woocommerce/woocommerce.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import * as WC from 'woocommerce-api'; 3 | 4 | @Injectable() 5 | export class WooCommerceProvider { 6 | 7 | WooCommerce: any; 8 | 9 | constructor() { 10 | this.WooCommerce = WC({ 11 | url: 'https://www.yoursite.com', // Your store URL 12 | consumerKey: 'XXXXXXXX', // Your consumer key 13 | consumerSecret: 'XXXXXXXX', // Your consumer secret 14 | wpAPI: true, // Enable the WP REST API integration 15 | queryStringAuth: true, 16 | verifySsl: true, 17 | version: 'wc/v2' // WooCommerce WP REST API version 18 | }); 19 | } 20 | 21 | initialize(){ 22 | return new Promise((resolve, reject) => { 23 | this.WooCommerce; 24 | }); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/service-worker.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Check out https://googlechrome.github.io/sw-toolbox/ for 3 | * more info on how to use sw-toolbox to custom configure your service worker. 4 | */ 5 | 6 | 7 | 'use strict'; 8 | importScripts('./build/sw-toolbox.js'); 9 | 10 | self.toolbox.options.cache = { 11 | name: 'ionic-cache' 12 | }; 13 | 14 | // pre-cache our key assets 15 | self.toolbox.precache( 16 | [ 17 | './build/main.js', 18 | './build/vendor.js', 19 | './build/main.css', 20 | './build/polyfills.js', 21 | 'index.html', 22 | 'manifest.json' 23 | ] 24 | ); 25 | 26 | // dynamically cache any other local assets 27 | self.toolbox.router.any('/*', self.toolbox.cacheFirst); 28 | 29 | // for any other requests go to the network, cache, 30 | // and then only use that cached resource if your user goes offline 31 | self.toolbox.router.default = self.toolbox.networkFirst; 32 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowSyntheticDefaultImports": true, 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "dom", 9 | "es2015" 10 | ], 11 | "module": "es2015", 12 | "moduleResolution": "node", 13 | "sourceMap": true, 14 | "target": "es5" 15 | }, 16 | "include": [ 17 | "src/**/*.ts" 18 | ], 19 | "exclude": [ 20 | "node_modules" 21 | ], 22 | "compileOnSave": false, 23 | "atom": { 24 | "rewriteTsconfig": false 25 | } 26 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /www/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/.gitkeep -------------------------------------------------------------------------------- /www/assets/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/ionicons.eot -------------------------------------------------------------------------------- /www/assets/fonts/ionicons.scss: -------------------------------------------------------------------------------- 1 | 2 | // Ionicons Icon Font CSS 3 | // -------------------------- 4 | // Ionicons CSS for Ionic's element 5 | // ionicons-icons.scss has the icons and their unicode characters 6 | 7 | $ionicons-font-path: $font-path !default; 8 | 9 | @import "ionicons-icons"; 10 | @import "ionicons-variables"; 11 | 12 | 13 | @font-face { 14 | font-family: "Ionicons"; 15 | src: url("#{$ionicons-font-path}/ionicons.woff2?v=#{$ionicons-version}") format("woff2"), 16 | url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"), 17 | url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype"); 18 | font-weight: normal; 19 | font-style: normal; 20 | } 21 | 22 | ion-icon { 23 | display: inline-block; 24 | 25 | font-family: "Ionicons"; 26 | -moz-osx-font-smoothing: grayscale; 27 | -webkit-font-smoothing: antialiased; 28 | font-style: normal; 29 | font-variant: normal; 30 | font-weight: normal; 31 | line-height: 1; 32 | text-rendering: auto; 33 | text-transform: none; 34 | speak: none; 35 | 36 | @include rtl() { 37 | &[aria-label^="arrow"]::before, 38 | &[flip-rtl]::before { 39 | transform: scaleX(-1); 40 | } 41 | 42 | &[unflip-rtl]::before { 43 | transform: scaleX(1); 44 | } 45 | } 46 | 47 | &::before { 48 | display: inline-block; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /www/assets/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/ionicons.ttf -------------------------------------------------------------------------------- /www/assets/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/ionicons.woff -------------------------------------------------------------------------------- /www/assets/fonts/ionicons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/ionicons.woff2 -------------------------------------------------------------------------------- /www/assets/fonts/noto-sans-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/noto-sans-bold.ttf -------------------------------------------------------------------------------- /www/assets/fonts/noto-sans-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/noto-sans-bold.woff -------------------------------------------------------------------------------- /www/assets/fonts/noto-sans-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/noto-sans-regular.ttf -------------------------------------------------------------------------------- /www/assets/fonts/noto-sans-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/noto-sans-regular.woff -------------------------------------------------------------------------------- /www/assets/fonts/noto-sans.scss: -------------------------------------------------------------------------------- 1 | // Noto Sans Font 2 | // Google 3 | // Apache License, version 2.0 4 | // http://www.apache.org/licenses/LICENSE-2.0.html 5 | 6 | $noto-sans-font-path: $font-path !default; 7 | 8 | @font-face { 9 | font-family: "Noto Sans"; 10 | font-style: normal; 11 | font-weight: 300; 12 | src: local("Noto Sans"), local("Noto-Sans-Regular"), url("#{$noto-sans-font-path}/noto-sans-regular.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-regular.ttf") format("truetype"); 13 | } 14 | 15 | @font-face { 16 | font-family: "Noto Sans"; 17 | font-style: normal; 18 | font-weight: 400; 19 | src: local("Noto Sans"), local("Noto-Sans-Regular"), url("#{$noto-sans-font-path}/noto-sans-regular.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-regular.ttf") format("truetype"); 20 | } 21 | 22 | @font-face { 23 | font-family: "Noto Sans"; 24 | font-style: normal; 25 | font-weight: 500; 26 | src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("#{$noto-sans-font-path}/noto-sans-bold.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-bold.ttf") format("truetype"); 27 | } 28 | 29 | @font-face { 30 | font-family: "Noto Sans"; 31 | font-style: normal; 32 | font-weight: 700; 33 | src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("#{$noto-sans-font-path}/noto-sans-bold.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-bold.ttf") format("truetype"); 34 | } 35 | -------------------------------------------------------------------------------- /www/assets/fonts/roboto-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-bold.ttf -------------------------------------------------------------------------------- /www/assets/fonts/roboto-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-bold.woff -------------------------------------------------------------------------------- /www/assets/fonts/roboto-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-bold.woff2 -------------------------------------------------------------------------------- /www/assets/fonts/roboto-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-light.ttf -------------------------------------------------------------------------------- /www/assets/fonts/roboto-light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-light.woff -------------------------------------------------------------------------------- /www/assets/fonts/roboto-light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-light.woff2 -------------------------------------------------------------------------------- /www/assets/fonts/roboto-medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-medium.ttf -------------------------------------------------------------------------------- /www/assets/fonts/roboto-medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-medium.woff -------------------------------------------------------------------------------- /www/assets/fonts/roboto-medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-medium.woff2 -------------------------------------------------------------------------------- /www/assets/fonts/roboto-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-regular.ttf -------------------------------------------------------------------------------- /www/assets/fonts/roboto-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-regular.woff -------------------------------------------------------------------------------- /www/assets/fonts/roboto-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/fonts/roboto-regular.woff2 -------------------------------------------------------------------------------- /www/assets/fonts/roboto.scss: -------------------------------------------------------------------------------- 1 | // Roboto Font 2 | // Google 3 | // Apache License, version 2.0 4 | // http://www.apache.org/licenses/LICENSE-2.0.html 5 | 6 | $roboto-font-path: $font-path !default; 7 | 8 | @font-face { 9 | font-family: "Roboto"; 10 | font-style: normal; 11 | font-weight: 300; 12 | src: local("Roboto Light"), local("Roboto-Light"), url("#{$roboto-font-path}/roboto-light.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-light.woff") format("woff"), url("#{$roboto-font-path}/roboto-light.ttf") format("truetype"); 13 | } 14 | 15 | @font-face { 16 | font-family: "Roboto"; 17 | font-style: normal; 18 | font-weight: 400; 19 | src: local("Roboto"), local("Roboto-Regular"), url("#{$roboto-font-path}/roboto-regular.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-regular.woff") format("woff"), url("#{$roboto-font-path}/roboto-regular.ttf") format("truetype"); 20 | } 21 | 22 | @font-face { 23 | font-family: "Roboto"; 24 | font-style: normal; 25 | font-weight: 500; 26 | src: local("Roboto Medium"), local("Roboto-Medium"), url("#{$roboto-font-path}/roboto-medium.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-medium.woff") format("woff"), url("#{$roboto-font-path}/roboto-medium.ttf") format("truetype"); 27 | } 28 | 29 | @font-face { 30 | font-family: "Roboto"; 31 | font-style: normal; 32 | font-weight: 700; 33 | src: local("Roboto Bold"), local("Roboto-Bold"), url("#{$roboto-font-path}/roboto-bold.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-bold.woff") format("woff"), url("#{$roboto-font-path}/roboto-bold.ttf") format("truetype"); 34 | } 35 | -------------------------------------------------------------------------------- /www/assets/i18n/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "PAGES": "Pages", 3 | "LOADING" : "Loading please wait...", 4 | "REVIEWS" : "Reviews", 5 | "HOME": "Home", 6 | "PRODUCTS" : "Products" 7 | } 8 | -------------------------------------------------------------------------------- /www/assets/i18n/es.json: -------------------------------------------------------------------------------- 1 | { 2 | "PAGES": "Paginas", 3 | "LOADING" : "Cargado por favor espere...", 4 | "REVIEWS" : "Comentarios", 5 | "HOME": "Inicio", 6 | "PRODUCTS" : "Productos" 7 | } 8 | -------------------------------------------------------------------------------- /www/assets/icon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/icon/favicon.ico -------------------------------------------------------------------------------- /www/assets/images/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/images/1.jpeg -------------------------------------------------------------------------------- /www/assets/images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/images/1.png -------------------------------------------------------------------------------- /www/assets/images/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/images/2.jpeg -------------------------------------------------------------------------------- /www/assets/images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/images/2.png -------------------------------------------------------------------------------- /www/assets/images/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/images/3.jpeg -------------------------------------------------------------------------------- /www/assets/images/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junivillegas/ionic3-woocommerce/2a4fa0a6b64f8cccd99dd52131b74cae34ef4b21/www/assets/images/3.png -------------------------------------------------------------------------------- /www/build/0.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/products-list/products-list.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACG;AAEnD,UAAU;AAC4C;AAWtD,IAAa,sBAAsB;IAAnC;IAAqC,CAAC;IAAD,6BAAC;AAAD,CAAC;AAAzB,sBAAsB;IATlC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,wEAAgB;SACjB;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,wEAAgB,CAAC;YAC1C,4EAAgB,CAAC,OAAO,EAAE;SAC3B;KACF,CAAC;GACW,sBAAsB,CAAG;AAAH","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { ProductsListPage } from './products-list';\n\n//Check it\nimport { IonicImageLoader } from 'ionic-image-loader';\n\n@NgModule({\n declarations: [\n ProductsListPage,\n ],\n imports: [\n IonicPageModule.forChild(ProductsListPage),\n IonicImageLoader.forRoot(),\n ],\n})\nexport class ProductsListPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/products-list/products-list.module.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /www/build/1.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/products-by-category/products-by-category.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AAChD,UAAU;AAC4C;AAEU;AAahE,IAAa,4BAA4B;IAAzC;IAA2C,CAAC;IAAD,mCAAC;AAAD,CAAC;AAA/B,4BAA4B;IAVxC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,qFAAsB;SAEvB;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,qFAAsB,CAAC;YAChD,4EAAgB,CAAC,OAAO,EAAE;SAC3B;KACF,CAAC;GACW,4BAA4B,CAAG;AAAH","file":"1.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\n//Check it\nimport { IonicImageLoader } from 'ionic-image-loader';\n\nimport { ProductsByCategoryPage } from './products-by-category';\n\n\n@NgModule({\n declarations: [\n ProductsByCategoryPage,\n\n ],\n imports: [\n IonicPageModule.forChild(ProductsByCategoryPage),\n IonicImageLoader.forRoot(),\n ],\n})\nexport class ProductsByCategoryPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/products-by-category/products-by-category.module.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /www/build/2.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/product-details/product-details.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACM;AAEH;AAcnD,IAAa,oBAAoB;IAAjC;IAAmC,CAAC;IAAD,2BAAC;AAAD,CAAC;AAAvB,oBAAoB;IAZhC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,wEAAc;SACf;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,wEAAc,CAAC;YACxC,4EAAgB,CAAC,OAAO,EAAE;SAC3B;QACD,OAAO,EAAE;YACP,wEAAc;SACf;KACF,CAAC;GACW,oBAAoB,CAAG;AAAH","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { IonicImageLoader } from 'ionic-image-loader';\n\nimport { ProductDetails } from './product-details';\n\n@NgModule({\n declarations: [\n ProductDetails,\n ],\n imports: [\n IonicPageModule.forChild(ProductDetails),\n IonicImageLoader.forRoot(),\n ],\n exports: [\n ProductDetails\n ]\n})\nexport class ProductDetailsModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/product-details/product-details.module.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /www/build/main.css.map: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /www/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic", 3 | "short_name": "Ionic", 4 | "start_url": "index.html", 5 | "display": "standalone", 6 | "icons": [{ 7 | "src": "assets/imgs/logo.png", 8 | "sizes": "512x512", 9 | "type": "image/png" 10 | }], 11 | "background_color": "#4e8ef7", 12 | "theme_color": "#4e8ef7" 13 | } -------------------------------------------------------------------------------- /www/service-worker.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Check out https://googlechrome.github.io/sw-toolbox/ for 3 | * more info on how to use sw-toolbox to custom configure your service worker. 4 | */ 5 | 6 | 7 | 'use strict'; 8 | importScripts('./build/sw-toolbox.js'); 9 | 10 | self.toolbox.options.cache = { 11 | name: 'ionic-cache' 12 | }; 13 | 14 | // pre-cache our key assets 15 | self.toolbox.precache( 16 | [ 17 | './build/main.js', 18 | './build/vendor.js', 19 | './build/main.css', 20 | './build/polyfills.js', 21 | 'index.html', 22 | 'manifest.json' 23 | ] 24 | ); 25 | 26 | // dynamically cache any other local assets 27 | self.toolbox.router.any('/*', self.toolbox.cacheFirst); 28 | 29 | // for any other requests go to the network, cache, 30 | // and then only use that cached resource if your user goes offline 31 | self.toolbox.router.default = self.toolbox.networkFirst; 32 | --------------------------------------------------------------------------------