diff --git a/assets/template-min/.gitignore b/assets/template-min/.gitignore new file mode 100644 index 00000000..0dd839e6 --- /dev/null +++ b/assets/template-min/.gitignore @@ -0,0 +1,15 @@ +npm-debug.log +.DS_Store + +webpack.config.js +hooks/ +!hooks/after-createProject/ +*.js.map +lib/ +node_modules/ +platforms/ +tmp/ +typings/ +.idea +.project +.vscode diff --git a/assets/template-min/CODE_OF_CONDUCT.md b/assets/template-min/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..1c845d0b --- /dev/null +++ b/assets/template-min/CODE_OF_CONDUCT.md @@ -0,0 +1,83 @@ +# NativeScript Community Code of Conduct + +Our community members come from all walks of life and are all at different stages of their personal and professional journeys. To support everyone, we've prepared a short code of conduct. Our mission is best served in an environment that is friendly, safe, and accepting; free from intimidation or harassment. + +Towards this end, certain behaviors and practices will not be tolerated. + +## tl;dr + +- Be respectful. +- We're here to help. +- Abusive behavior is never tolerated. +- Violations of this code may result in swift and permanent expulsion from the NativeScript community channels. + +## Administrators + +- Dan Wilson (@DanWilson on Slack) +- Jen Looper (@jen.looper on Slack) +- TJ VanToll (@tjvantoll on Slack) + +## Scope + +We expect all members of the NativeScript community, including administrators, users, facilitators, and vendors to abide by this Code of Conduct at all times in our community venues, online and in person, and in one-on-one communications pertaining to NativeScript affairs. + +This policy covers the usage of the NativeScript Slack community, as well as the NativeScript support forums, NativeScript GitHub repositories, the NativeScript website, and any NativeScript-related events. This Code of Conduct is in addition to, and does not in any way nullify or invalidate, any other terms or conditions related to use of NativeScript. + +The definitions of various subjective terms such as "discriminatory", "hateful", or "confusing" will be decided at the sole discretion of the NativeScript administrators. + +## Friendly, Harassment-Free Space + +We are committed to providing a friendly, safe, and welcoming environment for all, regardless of gender identity, sexual orientation, disability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics. + +We ask that you please respect that people have differences of opinion regarding technical choices, and acknowledge that every design or implementation choice carries a trade-off and numerous costs. There is seldom a single right answer. A difference of technology preferences is never a license to be rude. + +Any spamming, trolling, flaming, baiting, or other attention-stealing behaviour is not welcome, and will not be tolerated. + +Harassing other users of NativeScript is never tolerated, whether via public or private media. + +Avoid using offensive or harassing package names, nicknames, or other identifiers that might detract from a friendly, safe, and welcoming environment for all. + +Harassment includes, but is not limited to: harmful or prejudicial verbal or written comments related to gender identity, sexual orientation, disability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics; inappropriate use of nudity, sexual images, and/or sexually explicit language in public spaces; threats of physical or non-physical harm; deliberate intimidation, stalking or following; harassing photography or recording; sustained disruption of talks or other events; inappropriate physical contact; and unwelcome sexual attention. + +## Acceptable Content + +The NativeScript administrators reserve the right to make judgement calls about what is and isn't appropriate in published content. These are guidelines to help you be successful in our community. + +Content must contain something applicable to the previously stated goals of the NativeScript community. "Spamming", that is, publishing any form of content that is not applicable, is not allowed. + +Content must not contain illegal or infringing content. You should only publish content to NativeScript properties if you have the right to do so. This includes complying with all software license agreements or other intellectual property restrictions. For example, redistributing an MIT-licensed module with the copyright notice removed, would not be allowed. You will be responsible for any violation of laws or others’ intellectual property rights. + +Content must not be malware. For example, content (code, video, pictures, words, etc.) which is designed to maliciously exploit or damage computer systems, is not allowed. + +Content name, description, and other visible metadata must not include abusive, inappropriate, or harassing content. + +## Reporting Violations of this Code of Conduct + +If you believe someone is harassing you or has otherwise violated this Code of Conduct, please contact the administrators and send us an abuse report. If this is the initial report of a problem, please include as much detail as possible. It is easiest for us to address issues when we have more context. + +## Consequences + +All content published to the NativeScript community channels is hosted at the sole discretion of the NativeScript administrators. + +Unacceptable behavior from any community member, including sponsors, employees, customers, or others with decision-making authority, will not be tolerated. + +Anyone asked to stop unacceptable behavior is expected to comply immediately. + +If a community member engages in unacceptable behavior, the NativeScript administrators may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event or service). + +## Addressing Grievances + +If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify the administrators. We will do our best to ensure that your grievance is handled appropriately. + +In general, we will choose the course of action that we judge as being most in the interest of fostering a safe and friendly community. + +## Contact Info +Please contact Dan Wilson @DanWilson if you need to report a problem or address a grievance related to an abuse report. + +You are also encouraged to contact us if you are curious about something that might be "on the line" between appropriate and inappropriate content. We are happy to provide guidance to help you be a successful part of our community. + +## Credit and License + +This Code of Conduct borrows heavily from the WADE Code of Conduct, which is derived from the NodeBots Code of Conduct, which in turn borrows from the npm Code of Conduct, which was derived from the Stumptown Syndicate Citizen's Code of Conduct, and the Rust Project Code of Conduct. + +This document may be reused under a Creative Commons Attribution-ShareAlike License. \ No newline at end of file diff --git a/assets/template-min/LICENSE b/assets/template-min/LICENSE new file mode 100644 index 00000000..061c4402 --- /dev/null +++ b/assets/template-min/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2019 Progress Software Corporation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/assets/template-min/README.md b/assets/template-min/README.md new file mode 100644 index 00000000..873a39f9 --- /dev/null +++ b/assets/template-min/README.md @@ -0,0 +1,30 @@ +# NativeScript JavaScript Template + +This template creates a "Hello, world" NativeScript app using JavaScript. + +This is the default template, so you can create a new app that uses it with the `--template` option: + +``` +tns create my-hello-world-js --template tns-template-hello-world +``` + +Or without it: + +``` +tns create my-hello-world-js +``` + +> Note: Both commands will create a new NativeScript app that uses the latest version of this template published to [npm] (https://www.npmjs.com/package/tns-template-hello-world). + +If you want to create a new app that uses the source of the template from the `master` branch, you can execute the following: + +``` +# clone nativescript-app-templates monorepo locally +git clone git@github.com:NativeScript/nativescript-app-templates.git + +# create app template from local source (all templates are in the 'packages' subfolder of the monorepo) +tns create my-hello-world-js --template nativescript-app-templates/packages/template-hello-world +``` +# Issues + +Issues related to `template-hello-world` template should be logged in the https://github.com/NativeScript/NativeScript repository. diff --git a/assets/template-min/app/App_Resources/Android/app.gradle b/assets/template-min/app/App_Resources/Android/app.gradle new file mode 100644 index 00000000..68ed2f86 --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/app.gradle @@ -0,0 +1,19 @@ +// Add your native dependencies here: + +// Uncomment to add recyclerview-v7 dependency +//dependencies { +// implementation 'com.android.support:recyclerview-v7:+' +//} + +// If you want to add something to be applied before applying plugins' include.gradle files +// e.g. project.ext.googlePlayServicesVersion = "15.0.1" +// create a file named before-plugins.gradle in the current directory and place it there + +android { + defaultConfig { + generatedDensities = [] + } + aaptOptions { + additionalParameters "--no-version-vectors" + } +} diff --git a/assets/template-min/app/App_Resources/Android/src/main/AndroidManifest.xml b/assets/template-min/app/App_Resources/Android/src/main/AndroidManifest.xml new file mode 100644 index 00000000..e0109f52 --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/src/main/AndroidManifest.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png new file mode 100644 index 00000000..eb381c25 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png new file mode 100644 index 00000000..9cde84cd Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png new file mode 100644 index 00000000..5218f4c9 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png new file mode 100644 index 00000000..748b2adf Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png new file mode 100644 index 00000000..4d6a674b Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png new file mode 100644 index 00000000..b9e102a7 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/background.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/background.png new file mode 100644 index 00000000..efeaf290 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/background.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/icon.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/icon.png new file mode 100644 index 00000000..92ccc85a Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/icon.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png new file mode 100644 index 00000000..62633876 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml new file mode 100644 index 00000000..ada77f92 --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/background.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/background.png new file mode 100644 index 00000000..612bbd07 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/background.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png new file mode 100644 index 00000000..8bcde627 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png new file mode 100644 index 00000000..ad8ee2f4 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png new file mode 100644 index 00000000..0fa88e23 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png new file mode 100644 index 00000000..9d81c85d Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png new file mode 100644 index 00000000..66832783 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png new file mode 100644 index 00000000..c650f643 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png new file mode 100644 index 00000000..9a34d0d4 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png new file mode 100644 index 00000000..fa6331c8 Binary files /dev/null and b/assets/template-min/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png differ diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/values-v21/colors.xml b/assets/template-min/app/App_Resources/Android/src/main/res/values-v21/colors.xml new file mode 100644 index 00000000..a64641a9 --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/src/main/res/values-v21/colors.xml @@ -0,0 +1,4 @@ + + + #3d5afe + \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/values-v21/styles.xml b/assets/template-min/app/App_Resources/Android/src/main/res/values-v21/styles.xml new file mode 100644 index 00000000..dac8727c --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/src/main/res/values-v21/styles.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/values/colors.xml b/assets/template-min/app/App_Resources/Android/src/main/res/values/colors.xml new file mode 100644 index 00000000..74ad8829 --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/src/main/res/values/colors.xml @@ -0,0 +1,7 @@ + + + #F5F5F5 + #757575 + #33B5E5 + #272734 + \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/Android/src/main/res/values/styles.xml b/assets/template-min/app/App_Resources/Android/src/main/res/values/styles.xml new file mode 100644 index 00000000..c793e6d4 --- /dev/null +++ b/assets/template-min/app/App_Resources/Android/src/main/res/values/styles.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..1a8b0e64 --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,122 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "icon-20@2x.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "icon-20@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "icon-29.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "icon-29@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "icon-29@3x.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "icon-40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "icon-60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "icon-60@3x.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "icon-20.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "icon-20@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "icon-29.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "icon-29@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "icon-40.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "icon-76.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "icon-76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "icon-83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "icon-1024.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png new file mode 100644 index 00000000..a1d7eb47 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png new file mode 100644 index 00000000..5797bdef Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png new file mode 100644 index 00000000..a0bc5691 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png new file mode 100644 index 00000000..851ac65f Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png new file mode 100644 index 00000000..bb9b9e86 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png new file mode 100644 index 00000000..ec609dcf Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png new file mode 100644 index 00000000..a9718080 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png new file mode 100644 index 00000000..214800ee Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png new file mode 100644 index 00000000..8554b88a Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png new file mode 100644 index 00000000..a22626ba Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png new file mode 100644 index 00000000..a22626ba Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png new file mode 100644 index 00000000..492c9c8e Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png new file mode 100644 index 00000000..9208113c Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png new file mode 100644 index 00000000..24415e5a Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png new file mode 100644 index 00000000..b3ef1bf0 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/Contents.json b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/Contents.json new file mode 100644 index 00000000..da4a164c --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 00000000..bb3b4a5f --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,212 @@ +{ + "images" : [ + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "2688h", + "filename" : "Default-Portrait-XS-Max.png", + "minimum-system-version" : "12.0", + "orientation" : "portrait", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "2688h", + "filename" : "Default-Landscape-XS-Max.png", + "minimum-system-version" : "12.0", + "orientation" : "landscape", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "1792h", + "filename" : "Default-Portrait-XR.png", + "minimum-system-version" : "12.0", + "orientation" : "portrait", + "scale" : "2x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "1792h", + "filename" : "Default-Landscape-XR.png", + "minimum-system-version" : "12.0", + "orientation" : "landscape", + "scale" : "2x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "2436h", + "filename" : "Default-1125h.png", + "minimum-system-version" : "11.0", + "orientation" : "portrait", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "2436h", + "filename" : "Default-Landscape-X.png", + "minimum-system-version" : "11.0", + "orientation" : "landscape", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "736h", + "filename" : "Default-736h@3x.png", + "minimum-system-version" : "8.0", + "orientation" : "portrait", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "736h", + "filename" : "Default-Landscape@3x.png", + "minimum-system-version" : "8.0", + "orientation" : "landscape", + "scale" : "3x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "667h", + "filename" : "Default-667h@2x.png", + "minimum-system-version" : "8.0", + "orientation" : "portrait", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default@2x.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "extent" : "full-screen", + "idiom" : "iphone", + "subtype" : "retina4", + "filename" : "Default-568h@2x.png", + "minimum-system-version" : "7.0", + "orientation" : "portrait", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "Default-Landscape.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait@2x.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "Default-Landscape@2x.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default.png", + "extent" : "full-screen", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default@2x.png", + "extent" : "full-screen", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default-568h@2x.png", + "extent" : "full-screen", + "subtype" : "retina4", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait.png", + "extent" : "full-screen", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "Default-Landscape.png", + "extent" : "full-screen", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "Default-Portrait@2x.png", + "extent" : "full-screen", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "to-status-bar", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "Default-Landscape@2x.png", + "extent" : "full-screen", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png new file mode 100644 index 00000000..2913f85d Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png new file mode 100644 index 00000000..d7f17fcd Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png new file mode 100644 index 00000000..b8841540 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png new file mode 100644 index 00000000..faab4b63 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png new file mode 100644 index 00000000..cd94a3ac Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XR.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XR.png new file mode 100644 index 00000000..686fda12 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XR.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XS-Max.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XS-Max.png new file mode 100644 index 00000000..415e9c86 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XS-Max.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png new file mode 100644 index 00000000..3365ba3c Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png new file mode 100644 index 00000000..a44945c1 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png new file mode 100644 index 00000000..e6dca626 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XR.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XR.png new file mode 100644 index 00000000..b66a4f2d Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XR.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XS-Max.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XS-Max.png new file mode 100644 index 00000000..e34463dd Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XS-Max.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png new file mode 100644 index 00000000..1a500796 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png new file mode 100644 index 00000000..73d8b920 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png new file mode 100644 index 00000000..9f1f6ce3 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png new file mode 100644 index 00000000..514fc5cd Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json new file mode 100644 index 00000000..a0cc571d --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchScreen-AspectFill.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchScreen-AspectFill@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchScreen.AspectFill@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png new file mode 100644 index 00000000..c293f9c7 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png new file mode 100644 index 00000000..233693a6 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen.AspectFill@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen.AspectFill@3x.png new file mode 100644 index 00000000..a954cc8f Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen.AspectFill@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json new file mode 100644 index 00000000..6e26b7b3 --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchScreen-Center.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchScreen-Center@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchScreen.Center@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png new file mode 100644 index 00000000..a5a775a2 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png new file mode 100644 index 00000000..154c1934 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen.Center@3x.png b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen.Center@3x.png new file mode 100644 index 00000000..b2973b02 Binary files /dev/null and b/assets/template-min/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen.Center@3x.png differ diff --git a/assets/template-min/app/App_Resources/iOS/Info.plist b/assets/template-min/app/App_Resources/iOS/Info.plist new file mode 100644 index 00000000..ea3e3ea2 --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIRequiresFullScreen + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/assets/template-min/app/App_Resources/iOS/LaunchScreen.storyboard b/assets/template-min/app/App_Resources/iOS/LaunchScreen.storyboard new file mode 100644 index 00000000..c4e5a3f3 --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/LaunchScreen.storyboard @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/template-min/app/App_Resources/iOS/build.xcconfig b/assets/template-min/app/App_Resources/iOS/build.xcconfig new file mode 100644 index 00000000..4b011849 --- /dev/null +++ b/assets/template-min/app/App_Resources/iOS/build.xcconfig @@ -0,0 +1,7 @@ +// You can add custom settings here +// for example you can uncomment the following line to force distribution code signing +// CODE_SIGN_IDENTITY = iPhone Distribution +// To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html +// DEVELOPMENT_TEAM = YOUR_TEAM_ID; +ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; +ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; diff --git a/assets/template-min/app/app-root.xml b/assets/template-min/app/app-root.xml new file mode 100644 index 00000000..54e70d97 --- /dev/null +++ b/assets/template-min/app/app-root.xml @@ -0,0 +1,2 @@ + + diff --git a/assets/template-min/app/app.css b/assets/template-min/app/app.css new file mode 100644 index 00000000..4a701b9e --- /dev/null +++ b/assets/template-min/app/app.css @@ -0,0 +1,21 @@ +/* +In NativeScript, the app.css file is where you place CSS rules that +you would like to apply to your entire application. Check out +http://docs.nativescript.org/ui/styling for a full list of the CSS +selectors and properties you can use to style UI components. + +/* +In many cases you may want to use the NativeScript core theme instead +of writing your own CSS rules. For a full list of class names in the theme +refer to http://docs.nativescript.org/ui/theme. +The imported CSS rules must precede all other types of rules. +*/ +@import '~nativescript-theme-core/css/core.light.css'; + +/* +The following CSS rule changes the font size of all UI +components that have the btn class name. +*/ +.btn { + font-size: 18; +} diff --git a/assets/template-min/app/app.js b/assets/template-min/app/app.js new file mode 100644 index 00000000..3a420f46 --- /dev/null +++ b/assets/template-min/app/app.js @@ -0,0 +1,14 @@ +/* +In NativeScript, the app.js file is the entry point to your application. +You can use this file to perform app-level initialization, but the primary +purpose of the file is to pass control to the app’s first module. +*/ + +const application = require("tns-core-modules/application"); + +application.run({ moduleName: "app-root" }); + +/* +Do not place any code after the application has been started as it will not +be executed on iOS. +*/ diff --git a/assets/template-min/app/main-page.js b/assets/template-min/app/main-page.js new file mode 100644 index 00000000..a0cb8c80 --- /dev/null +++ b/assets/template-min/app/main-page.js @@ -0,0 +1,41 @@ +/* +In NativeScript, a file with the same name as an XML file is known as +a code-behind file. The code-behind is a great place to place your view +logic, and to set up your page’s data binding. +*/ + +/* +NativeScript adheres to the CommonJS specification for dealing with +JavaScript modules. The CommonJS require() function is how you import +JavaScript modules defined in other files. +*/ +const createViewModel = require("./main-view-model").createViewModel; + +function onNavigatingTo(args) { + /* + This gets a reference this page’s UI component. You can + view the API reference of the Page to see what’s available at + https://docs.nativescript.org/api-reference/classes/_ui_page_.page.html + */ + const page = args.object; + + /* + A page’s bindingContext is an object that should be used to perform + data binding between XML markup and JavaScript code. Properties + on the bindingContext can be accessed using the {{ }} syntax in XML. + In this example, the {{ message }} and {{ onTap }} bindings are resolved + against the object returned by createViewModel(). + + You can learn more about data binding in NativeScript at + https://docs.nativescript.org/core-concepts/data-binding. + */ + page.bindingContext = createViewModel(); +} + +/* +Exporting a function in a NativeScript code-behind file makes it accessible +to the file’s corresponding XML file. In this case, exporting the onNavigatingTo +function here makes the navigatingTo="onNavigatingTo" binding in this page’s XML +file work. +*/ +exports.onNavigatingTo = onNavigatingTo; diff --git a/assets/template-min/app/main-page.xml b/assets/template-min/app/main-page.xml new file mode 100644 index 00000000..086a82b1 --- /dev/null +++ b/assets/template-min/app/main-page.xml @@ -0,0 +1,32 @@ + + + + + + + + + +