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

Commit 794467a

Browse files
Add support for ML Kit's Natural Language and Language Identification #1127
1 parent 19e79ed commit 794467a

119 files changed

Lines changed: 22795 additions & 1559 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ demo/firebasefunctions/functions/lib
3434
!demo-push/karma.conf.js
3535
demo-push/*.d.ts
3636
demo-ng/*.d.ts
37+
!demo-vue/app/main.js
3738
!demo/references.d.ts
3839
!demo-push/references.d.ts
3940
!demo-ng/references.d.ts

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ matrix:
2626
env:
2727
- WebPack="Android"
2828
jdk: oraclejdk8
29-
before_install: nvm install 8
29+
before_install: nvm install stable
3030
script: travis_wait travis_retry tns build android --bundle
3131
- stage: "Build"
3232
env:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
6+
<string>ca-app-pub-3940256099942544/2934735716</string>
7+
<key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key>
8+
<string>ca-app-pub-3940256099942544/4411468910</string>
9+
<key>CLIENT_ID</key>
10+
<string>176080762547-8g2ls3h76dcgdt5uuingun2hiehl49r7.apps.googleusercontent.com</string>
11+
<key>REVERSED_CLIENT_ID</key>
12+
<string>com.googleusercontent.apps.176080762547-8g2ls3h76dcgdt5uuingun2hiehl49r7</string>
13+
<key>API_KEY</key>
14+
<string>AIzaSyC6yOZO4Kl0yGyRdyH_Z_Q0DysqvNYt3l0</string>
15+
<key>GCM_SENDER_ID</key>
16+
<string>176080762547</string>
17+
<key>PLIST_VERSION</key>
18+
<string>1</string>
19+
<key>BUNDLE_ID</key>
20+
<string>org.nativescript.firebasedemo.firestore</string>
21+
<key>PROJECT_ID</key>
22+
<string>n-plugin-test-firestore</string>
23+
<key>STORAGE_BUCKET</key>
24+
<string>n-plugin-test-firestore.appspot.com</string>
25+
<key>IS_ADS_ENABLED</key>
26+
<true></true>
27+
<key>IS_ANALYTICS_ENABLED</key>
28+
<false></false>
29+
<key>IS_APPINVITE_ENABLED</key>
30+
<false></false>
31+
<key>IS_GCM_ENABLED</key>
32+
<true></true>
33+
<key>IS_SIGNIN_ENABLED</key>
34+
<true></true>
35+
<key>GOOGLE_APP_ID</key>
36+
<string>1:176080762547:ios:fbe95ab1f255d884</string>
37+
<key>DATABASE_URL</key>
38+
<string>https://n-plugin-test-firestore.firebaseio.com</string>
39+
</dict>
40+
</plist>

demo-vue/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# JetBrains project files
2+
.idea
3+
4+
# NPM
5+
node_modules
6+
7+
# NativeScript application
8+
hooks
9+
platforms

demo-vue/README.md

Lines changed: 19 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Add your native dependencies here:
2+
3+
android {
4+
defaultConfig {
5+
generatedDensities = []
6+
applicationId = "org.nativescript.firebasedemo.firestore"
7+
}
8+
aaptOptions {
9+
additionalParameters "--no-version-vectors"
10+
}
11+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"project_info": {
3+
"project_number": "176080762547",
4+
"firebase_url": "https://n-plugin-test-firestore.firebaseio.com",
5+
"project_id": "n-plugin-test-firestore",
6+
"storage_bucket": "n-plugin-test-firestore.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:176080762547:android:fbe95ab1f255d884",
12+
"android_client_info": {
13+
"package_name": "org.nativescript.firebasedemo.firestore"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "176080762547-e030nqu3u61ntnq5d3jilip6ik6au4cq.apps.googleusercontent.com",
19+
"client_type": 3
20+
}
21+
],
22+
"api_key": [
23+
{
24+
"current_key": "AIzaSyCbzMMocv610ByMwPvcv2W0h45btMojqLw"
25+
}
26+
],
27+
"services": {
28+
"analytics_service": {
29+
"status": 1
30+
},
31+
"appinvite_service": {
32+
"status": 1,
33+
"other_platform_oauth_client": []
34+
},
35+
"ads_service": {
36+
"status": 2
37+
}
38+
}
39+
}
40+
],
41+
"configuration_version": "1"
42+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
xmlns:android="http://schemas.android.com/apk/res/android" package="__PACKAGE__" android:versionCode="10000"
4+
android:versionName="1.0.0">
5+
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true"
6+
android:xlargeScreens="true"/>
7+
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="__APILEVEL__"/>
8+
<uses-permission android:name="android.permission.INTERNET"/>
9+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
10+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
11+
<application android:name="com.tns.NativeScriptApplication" android:allowBackup="true" android:icon="@drawable/icon"
12+
android:label="@string/app_name" android:theme="@style/AppTheme">
13+
<activity android:name="com.tns.NativeScriptActivity" android:label="@string/title_activity_kimera"
14+
android:configChanges="keyboardHidden|orientation|screenSize"
15+
android:theme="@style/LaunchScreenTheme">
16+
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme"/>
17+
18+
<intent-filter>
19+
<action android:name="android.intent.action.MAIN"/>
20+
<category android:name="android.intent.category.LAUNCHER"/>
21+
</intent-filter>
22+
23+
<!-- For Firebase Dynamic Links -->
24+
<intent-filter>
25+
<action android:name="android.intent.action.VIEW"/>
26+
<category android:name="android.intent.category.DEFAULT"/>
27+
<category android:name="android.intent.category.BROWSABLE"/>
28+
<data android:host="firebasedemovue.page.link" android:scheme="https"/>
29+
</intent-filter>
30+
31+
</activity>
32+
<activity android:name="com.tns.ErrorReportActivity"/>
33+
</application>
34+
</manifest>
5.34 KB

0 commit comments

Comments
 (0)