├── .gitignore ├── LocalNotifications ├── .abignore ├── .abproject ├── .app.json ├── .yo-rc.json ├── app │ ├── App_Resources │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── app.gradle │ │ │ ├── drawable-hdpi │ │ │ │ ├── background.png │ │ │ │ ├── ic_notify.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ ├── drawable-ldpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ ├── drawable-nodpi │ │ │ │ └── splash_screen.xml │ │ │ ├── drawable-xhdpi │ │ │ │ ├── background.png │ │ │ │ ├── ic_notify.png │ │ │ │ ├── ic_stat_notify.png │ │ │ │ ├── icon.png │ │ │ │ ├── launcher_icon_arrow.png │ │ │ │ └── logo.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── background.png │ │ │ │ ├── ic_notify.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── background.png │ │ │ │ ├── ic_notify.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ ├── raw │ │ │ │ └── customsound │ │ │ ├── values-v21 │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ └── iOS │ │ │ ├── Default-568h@2x.png │ │ │ ├── Default-667h@2x.png │ │ │ ├── Default-736h@3x.png │ │ │ ├── Default-Landscape-568h@2x.png │ │ │ ├── Default-Landscape-667h@2x.png │ │ │ ├── Default-Landscape.png │ │ │ ├── Default-Landscape@2x.png │ │ │ ├── Default-Landscape@3x.png │ │ │ ├── Default-Portrait.png │ │ │ ├── Default-Portrait@2x.png │ │ │ ├── Default.png │ │ │ ├── Default@2x.png │ │ │ ├── Icon-Small-50.png │ │ │ ├── Icon-Small-50@2x.png │ │ │ ├── Icon-Small.png │ │ │ ├── Icon-Small@2x.png │ │ │ ├── Info.plist │ │ │ ├── icon-40.png │ │ │ ├── icon-40@2x.png │ │ │ ├── icon-60.png │ │ │ ├── icon-60@2x.png │ │ │ ├── icon-72.png │ │ │ ├── icon-72@2x.png │ │ │ ├── icon-76.png │ │ │ ├── icon-76@2x.png │ │ │ ├── icon.png │ │ │ └── icon@2x.png │ ├── app-root.xml │ ├── app.css │ ├── app.js │ ├── main-page.js │ ├── main-page.xml │ ├── main-view-model.js │ ├── package.json │ └── res │ │ └── telerik-logo.png ├── hooks │ ├── after-watch │ │ └── nativescript-dev-typescript.js │ ├── before-prepare │ │ └── nativescript-dev-typescript.js │ ├── before-watch │ │ └── nativescript-dev-typescript.js │ └── before-watchPatterns │ │ └── nativescript-dev-typescript.js ├── package.json ├── references.d.ts └── tsconfig.json ├── README.md └── screenshots ├── ios-demo-01.png ├── ios-demo-02.png └── ios-demo-03.png /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vscode/ 3 | node_modules/ 4 | LocalNotifications/platforms/ -------------------------------------------------------------------------------- /LocalNotifications/.abignore: -------------------------------------------------------------------------------- 1 | # .abignore lets you configure which of your files and folders should be excluded from your application package during the build process. 2 | # Each project created with AppBuilder 2.6 or later contains a default .abignore which lists a number of system files and folders that might affect the size of your app or might prevent build operations from completing successfully. 3 | # 4 | # For more information about .abignore and how to write exclude and include rules for your projects, see http://docs.telerik.com/platform/appbuilder/testing-your-app/abignore 5 | 6 | # Windows files 7 | **/Thumbs.db 8 | 9 | # Mac OS files 10 | **/.DS_Store 11 | **/__MACOSX/**/* 12 | 13 | # Visual Studio files 14 | bin/**/* 15 | obj/**/* 16 | **/.vs/**/* 17 | **/.vscode/**/* 18 | **/*.obj 19 | **/*.pdb 20 | **/*.user 21 | **/*.aps 22 | **/*.pch 23 | **/*.vspscc 24 | **/*_i.c 25 | **/*_p.c 26 | **/*.ncb 27 | **/*.suo 28 | **/*.tlb 29 | **/*.tlh 30 | **/*.ilk 31 | **/*.lib 32 | **/*.sbr 33 | 34 | # Source control files 35 | .gitignore 36 | **/.git/**/* 37 | 38 | # AppBuilder files 39 | .abignore 40 | .*.abignore 41 | .*.*.abignore 42 | .ab/**/* 43 | .app.json 44 | .yo-rc.json 45 | 46 | # TypeScript files 47 | **/*.ts 48 | **/*.map 49 | tsconfig.json 50 | 51 | # Other 52 | **/*.bak 53 | **/*.cache 54 | **/*.log 55 | 56 | # NativeScript files 57 | platforms/**/* 58 | node_modules/**/* 59 | typings/**/* -------------------------------------------------------------------------------- /LocalNotifications/.abproject: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectName": "LocalNotifications", 3 | "ProjectGuid": "f03f6a6d-914b-48be-862c-05f88787c3d7", 4 | "projectVersion": 1, 5 | "AppIdentifier": "com.telerik.plugindemo.nativescript.localnotifications", 6 | "DisplayName": "LocalNotifications", 7 | "Author": "Telerik", 8 | "Description": "LocalNotifications", 9 | "BundleVersion": "1.0.2", 10 | "AndroidVersionCode": "1", 11 | "iOSDeviceFamily": [ 12 | "1", 13 | "2" 14 | ], 15 | "iOSBackgroundMode": [], 16 | "ProjectTypeGuids": "{F0A65104-D4F4-4012-B799-F612D75820F6}", 17 | "AndroidPermissions": [ 18 | "android.permission.INTERNET" 19 | ], 20 | "DeviceOrientations": [ 21 | "Portrait", 22 | "Landscape" 23 | ], 24 | "AndroidHardwareAcceleration": "false", 25 | "iOSStatusBarStyle": "Default", 26 | "FrameworkVersion": "2.2.0", 27 | "Framework": "NativeScript" 28 | } -------------------------------------------------------------------------------- /LocalNotifications/.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "NativeScript", 3 | "views": [ 4 | { 5 | "type": "NativeScript:view", 6 | "name": "homeView", 7 | "components": [], 8 | "title": "Home View", 9 | "addToNavigation": true, 10 | "icon": "home" 11 | } 12 | ], 13 | "dataProviders": [], 14 | "name": "nativeScriptApp", 15 | "navigation": "listmenu", 16 | "transition": "none", 17 | "skin": "native" 18 | } -------------------------------------------------------------------------------- /LocalNotifications/.yo-rc.json: -------------------------------------------------------------------------------- 1 | { 2 | "generator-NativeScript": { 3 | "dependsOn": [ 4 | "generator-NativeScript@0.0.15" 5 | ] 6 | } 7 | } -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 27 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/app.gradle: -------------------------------------------------------------------------------- 1 | // Add your native dependencies here: 2 | 3 | // Uncomment to add recyclerview-v7 dependency 4 | //dependencies { 5 | // compile 'com.android.support:recyclerview-v7:+' 6 | //} 7 | 8 | android { 9 | defaultConfig { 10 | generatedDensities = [] 11 | applicationId = "org.nativescript.plugindemo.localnotifications" 12 | } 13 | aaptOptions { 14 | additionalParameters "--no-version-vectors" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-hdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-hdpi/background.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-hdpi/ic_notify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-hdpi/ic_notify.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-hdpi/logo.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-ldpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-ldpi/background.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-ldpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-ldpi/logo.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-mdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-mdpi/background.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-mdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-mdpi/logo.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-nodpi/splash_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xhdpi/background.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xhdpi/ic_notify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xhdpi/ic_notify.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xhdpi/ic_stat_notify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xhdpi/ic_stat_notify.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xhdpi/launcher_icon_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xhdpi/launcher_icon_arrow.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xhdpi/logo.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/background.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/ic_notify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/ic_notify.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxhdpi/logo.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/background.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/ic_notify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/ic_notify.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/drawable-xxxhdpi/logo.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/raw/customsound: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/Android/raw/customsound -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/values-v21/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3d5afe 4 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 14 | 15 | 16 | 19 | 20 | 23 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #F5F5F5 4 | #757575 5 | #33B5E5 6 | #272734 7 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/Android/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | 21 | 22 | 23 | 31 | 32 | 34 | 35 | 36 | 42 | 43 | 45 | 46 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-568h@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-667h@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-736h@3x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Landscape-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Landscape-568h@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Landscape-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Landscape-667h@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Landscape.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Landscape@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Landscape@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Landscape@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Landscape@3x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Portrait.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default-Portrait@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Default@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Icon-Small-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Icon-Small-50.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Icon-Small-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Icon-Small-50@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Icon-Small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Icon-Small.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Icon-Small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/Icon-Small@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | LocalNotifications 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-40.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-40@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-60.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-60@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-72.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-72@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-76.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon-76@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon.png -------------------------------------------------------------------------------- /LocalNotifications/app/App_Resources/iOS/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EddyVerbruggen/nativescript-local-notifications-demo/ecaf2e995b733bb11eab04ffbb6ec1091697b6ac/LocalNotifications/app/App_Resources/iOS/icon@2x.png -------------------------------------------------------------------------------- /LocalNotifications/app/app-root.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LocalNotifications/app/app.css: -------------------------------------------------------------------------------- 1 | page { 2 | background-color: #F4F4F4; 3 | } 4 | 5 | .tab-content { 6 | color: #808080; 7 | padding: 18; 8 | } 9 | 10 | .title { 11 | font-size: 18; 12 | margin: 0 0 8 0; 13 | color: #3c3c3c; 14 | /*horizontal-align: center;*/ 15 | } 16 | 17 | label { 18 | font-size: 16; 19 | } 20 | 21 | .hint { 22 | font-size: 14; 23 | margin: 8; 24 | } 25 | 26 | button { 27 | background-color: #E0A458; 28 | padding: 8; 29 | margin: 8; 30 | font-size: 14; 31 | border-radius: 4; 32 | } 33 | 34 | .button { 35 | color: #FFFFFF; 36 | } 37 | 38 | .button-positive { 39 | background-color: #90A959; 40 | } 41 | 42 | .button-danger { 43 | background-color: #A63D40; 44 | } 45 | 46 | .button-neutral { 47 | background-color: #6494AA; 48 | } -------------------------------------------------------------------------------- /LocalNotifications/app/app.js: -------------------------------------------------------------------------------- 1 | var application = require("tns-core-modules/application"); 2 | application.run({ moduleName: 'app-root' }); 3 | -------------------------------------------------------------------------------- /LocalNotifications/app/main-page.js: -------------------------------------------------------------------------------- 1 | var vmModule = require("./main-view-model"); 2 | function pageLoaded(args) { 3 | var page = args.object; 4 | page.bindingContext = vmModule.mainViewModel; 5 | } 6 | exports.pageLoaded = pageLoaded; 7 | -------------------------------------------------------------------------------- /LocalNotifications/app/main-page.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |