mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
feat(android): more cleanup and update FV app
This commit is contained in:
parent
594306032c
commit
70b60bb852
6 changed files with 25 additions and 13 deletions
|
|
@ -1,9 +1,9 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.5.2'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.tavultesoft.kmapro">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'io.sentry.android.gradle'
|
||||
id 'com.github.triplet.play' version '2.5.0' apply false
|
||||
}
|
||||
|
||||
|
|
@ -69,9 +70,19 @@ android {
|
|||
|
||||
lintOptions {
|
||||
disable 'MissingTranslation'
|
||||
lintConfig file("lint.xml")
|
||||
}
|
||||
}
|
||||
|
||||
// how to configure the sentry android gradle plugin
|
||||
sentry {
|
||||
// Disables or enables the automatic configuration of Native symbols
|
||||
uploadNativeSymbols true
|
||||
|
||||
// Does or doesn't include the source code of native code for Sentry
|
||||
includeNativeSources true
|
||||
}
|
||||
|
||||
String env_keys_json_file = System.getenv("oem_firstvoices_keys_json_file")
|
||||
if (env_keys_json_file != null) {
|
||||
apply plugin: 'com.github.triplet.play'
|
||||
|
|
@ -102,9 +113,6 @@ repositories {
|
|||
dirs 'libs'
|
||||
}
|
||||
google()
|
||||
maven {
|
||||
url 'https://maven.fabric.io/public'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
@ -112,6 +120,7 @@ dependencies {
|
|||
implementation 'androidx.appcompat:appcompat:1.2.0-alpha02'
|
||||
implementation 'com.google.android.material:material:1.0.0'
|
||||
api(name: 'keyman-engine', ext: 'aar')
|
||||
implementation 'io.sentry:sentry-android:2.0.1'
|
||||
implementation 'androidx.preference:preference:1.1.0'
|
||||
implementation 'io.sentry:sentry-android:2.0.1'
|
||||
}
|
||||
|
|
|
|||
6
oem/firstvoices/android/app/lint.xml
Normal file
6
oem/firstvoices/android/app/lint.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<lint>
|
||||
<issue id="InvalidPackage">
|
||||
<ignore path="**/sentry*.jar"/>
|
||||
</issue>
|
||||
</lint>
|
||||
|
|
@ -11,8 +11,12 @@
|
|||
android:theme="@style/AppTheme"
|
||||
android:fullBackupContent="@xml/backup_descriptor">
|
||||
|
||||
<!-- see the events from this app in sentry.keyman.com dashboard -->
|
||||
<meta-data
|
||||
android:name="io.sentry.dsn" android:value="https://a00ed3e10a2045acb3d93416be90d89a@sentry.keyman.com/7"/>
|
||||
<!-- how to enable Sentry's debug mode -->
|
||||
<meta-data
|
||||
android:name="io.sentry.debug" android:value="true" />
|
||||
|
||||
<service
|
||||
android:name="com.firstvoices.keyboards.SystemKeyboard"
|
||||
|
|
@ -52,9 +56,5 @@
|
|||
android:launchMode="singleTask"
|
||||
android:theme="@android:style/Theme.Holo.Light.Dialog" >
|
||||
</activity>
|
||||
<meta-data
|
||||
android:name="io.fabric.ApiKey"
|
||||
android:value="4efced22a226f98e05442a7e472b377d89fcc294"
|
||||
/>
|
||||
</application>
|
||||
</manifest>
|
||||
|
|
|
|||
|
|
@ -4,14 +4,12 @@ buildscript {
|
|||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
maven {
|
||||
url 'https://maven.fabric.io/public'
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.5.2'
|
||||
classpath 'com.google.gms:google-services:4.3.2'
|
||||
classpath 'io.sentry:sentry-android:2.0.1'
|
||||
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.31'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue