Skip to content

Commit 738de06

Browse files
Nevaancharsleysa
authored andcommitted
feat: angular demo app (#69)
* Add angular-demo template project - used nativescript-plugin-seed - upgraded demo to nativescript 6 * Dependency updates - Angular version update - Nativescript platform & deps updates * Implemented angular demo
1 parent 5e8936c commit 738de06

File tree

93 files changed

+7702
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+7702
-0
lines changed

demo-angular/.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.ts]
14+
indent_style = space
15+
indent_size = 4

demo-angular/.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# NativeScript
2+
hooks/
3+
node_modules/
4+
platforms/
5+
6+
# NativeScript Template
7+
*.js.map
8+
*.js
9+
!webpack.config.js
10+
11+
# Logs
12+
logs
13+
*.log
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
18+
# General
19+
.DS_Store
20+
.AppleDouble
21+
.LSOverride
22+
.idea
23+
.cloud
24+
.project
25+
tmp/
26+
typings/
27+
28+
# Visual Studio Code
29+
.vscode/*
30+
!.vscode/settings.json
31+
!.vscode/tasks.json
32+
!.vscode/launch.json
33+
!.vscode/extensions.json
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Add your native dependencies here:
2+
3+
// Uncomment to add recyclerview-v7 dependency
4+
//dependencies {
5+
// implementation 'com.android.support:recyclerview-v7:+'
6+
//}
7+
8+
// If you want to add something to be applied before applying plugins' include.gradle files
9+
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
10+
// create a file named before-plugins.gradle in the current directory and place it there
11+
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
15+
generatedDensities = []
16+
applicationId = "org.nativescript.auth0demo"
17+
}
18+
aaptOptions {
19+
additionalParameters "--no-version-vectors"
20+
}
21+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="__PACKAGE__"
5+
android:versionCode="10000"
6+
android:versionName="1.0">
7+
8+
<supports-screens
9+
android:smallScreens="true"
10+
android:normalScreens="true"
11+
android:largeScreens="true"
12+
android:xlargeScreens="true"/>
13+
14+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
15+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
16+
<uses-permission android:name="android.permission.INTERNET"/>
17+
18+
<application
19+
android:name="com.tns.NativeScriptApplication"
20+
android:allowBackup="true"
21+
android:icon="@drawable/icon"
22+
android:label="@string/app_name"
23+
android:theme="@style/AppTheme">
24+
25+
<activity
26+
android:name="com.tns.NativeScriptActivity"
27+
android:label="@string/title_activity_kimera"
28+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
29+
android:theme="@style/LaunchScreenTheme">
30+
31+
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
32+
33+
<intent-filter>
34+
<action android:name="android.intent.action.MAIN" />
35+
<category android:name="android.intent.category.LAUNCHER" />
36+
</intent-filter>
37+
</activity>
38+
<activity android:name="com.tns.ErrorReportActivity"/>
39+
40+
<!-- Auth0 -->
41+
<activity
42+
android:name="org.nativescript.auth0.RedirectActivity"
43+
tools:node="replace">
44+
<intent-filter>
45+
<action android:name="android.intent.action.VIEW" />
46+
47+
<category android:name="android.intent.category.DEFAULT" />
48+
<category android:name="android.intent.category.BROWSABLE" />
49+
50+
<data
51+
android:host="nativescript.auth0.com"
52+
android:pathPrefix="/android/${applicationId}/callback"
53+
android:scheme="https" />
54+
</intent-filter>
55+
</activity>
56+
<!-- Auth0 -->
57+
</application>
58+
</manifest>
3.42 KB
6.04 KB
32.4 KB
1.31 KB
2.2 KB
9.95 KB

0 commit comments

Comments
 (0)