Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit c1f667d

Browse files
Inlined demo repo
1 parent ef15aba commit c1f667d

File tree

85 files changed

+3628
-1129
lines changed

Some content is hidden

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

85 files changed

+3628
-1129
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ demo/.nsbuildinfo
2121
node_modules
2222
demo/report/report.html
2323
demo/report/stats.json
24-
publish/src
24+
!publish/scripts/*.js
2525
publish/package
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="__PACKAGE__"
4+
android:versionCode="1"
5+
android:versionName="1.0">
6+
7+
<supports-screens
8+
android:smallScreens="true"
9+
android:normalScreens="true"
10+
android:largeScreens="true"
11+
android:xlargeScreens="true"/>
12+
13+
<uses-sdk
14+
android:minSdkVersion="17"
15+
android:targetSdkVersion="__APILEVEL__"/>
16+
17+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
18+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
19+
<uses-permission android:name="android.permission.INTERNET"/>
20+
21+
<application
22+
android:name="com.tns.NativeScriptApplication"
23+
android:allowBackup="true"
24+
android:icon="@drawable/icon"
25+
android:label="@string/app_name"
26+
android:theme="@style/AppTheme">
27+
28+
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
29+
30+
<activity
31+
android:name="com.tns.NativeScriptActivity"
32+
android:label="@string/title_activity_kimera"
33+
android:configChanges="keyboardHidden|orientation|screenSize"
34+
android:theme="@style/LaunchScreenTheme">
35+
36+
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
37+
38+
<intent-filter>
39+
<action android:name="android.intent.action.MAIN" />
40+
<category android:name="android.intent.category.LAUNCHER" />
41+
</intent-filter>
42+
43+
<!-- For Firebase Dynamic Links -->
44+
<intent-filter>
45+
<action android:name="android.intent.action.VIEW"/>
46+
<category android:name="android.intent.category.DEFAULT"/>
47+
<category android:name="android.intent.category.BROWSABLE"/>
48+
<data android:host="www.coolapp.com" android:scheme="http"/>
49+
<data android:host="www.coolapp.com" android:scheme="https"/>
50+
</intent-filter>
51+
52+
</activity>
53+
<activity android:name="com.tns.ErrorReportActivity"/>
54+
</application>
55+
</manifest>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
// added these:
12+
multiDexEnabled true
13+
applicationId "org.nativescript.firebasedemo"
14+
}
15+
16+
// after adding a few additional Firebase libs we'll need this (otherwise: OutOfMemoryException)
17+
dexOptions {
18+
javaMaxHeapSize "4g"
19+
}
20+
21+
aaptOptions {
22+
additionalParameters "--no-version-vectors"
23+
}
24+
}
3.42 KB
6.8 KB
32.4 KB
1.31 KB
3.23 KB
9.95 KB
1.89 KB

0 commit comments

Comments
 (0)