Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
431 additions
and
921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 HyperTrack | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,39 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion '26.0.3' | ||
compileSdkVersion 28 | ||
defaultConfig { | ||
applicationId "com.hypertrack.quickstart" | ||
minSdkVersion 14 | ||
targetSdkVersion 26 | ||
minSdkVersion 19 | ||
targetSdkVersion 28 | ||
versionCode 1 | ||
versionName "1.0" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
/** | ||
* HyperTrack SDKs are hosted on the below url. Add the url as specified below. | ||
* If this exists already, add a new "maven {url }" entry in the existing | ||
* repositories block. | ||
*/ | ||
repositories { | ||
maven { url 'http://hypertrack-android-sdk.s3-website-us-west-2.amazonaws.com/' } | ||
maven { | ||
url 'http://hypertrack-core-android.s3-website-us-east-1.amazonaws.com/' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(include: ['*.jar'], dir: 'libs') | ||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation 'com.android.support:appcompat-v7:28.0.0' | ||
implementation 'com.android.support:support-v4:28.0.0' | ||
|
||
implementation 'com.android.support:appcompat-v7:26.1.0' | ||
implementation 'com.android.support:design:26.1.0' | ||
testCompile 'junit:junit:4.12' | ||
implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
implementation("com.hypertrack:hypertrack:3.0.0@aar") {transitive = true} | ||
|
||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'com.android.support.test:runner:1.0.2' | ||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' | ||
|
||
/** | ||
* HyperTrack SDKs are shipped as @aar formats. Include the HyperTrack SDK's | ||
* latest version as specified below. For detailed SDK changelog, Refer to | ||
* https://docs.hypertrack.com/sdks/android/changelog.html. | ||
* | ||
* transitive = true, enables the SDK to include its internal dependencies | ||
* automatically. Refer here for more info on HyperTrack SDK dependencies. | ||
*/ | ||
implementation('com.hypertrack:android:0.7.39@aar') { | ||
transitive = true; | ||
} | ||
compile 'com.hypertrack:hyperlog:0.0.9' | ||
} | ||
apply plugin: 'com.google.gms.google-services' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in /Users/piyush/Library/Android/sdk/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Proguard Rules for HyperTrack SDK | ||
-keep class com.hypertrack.lib.** { *; } | ||
-dontwarn com.hypertrack.lib.** | ||
|
||
# Proguard Rules to ignore InnerClass warnings for Paho SDK | ||
-keepattributes EnclosingMethod | ||
-keepattributes InnerClasses | ||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# Proguard Rules for Google's Play Services SDK | ||
-keep public class com.google.android.gms.* { public *; } | ||
-dontwarn com.google.android.gms.** | ||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
<?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.hypertrack.quickstart"> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:icon="@drawable/ic_green" | ||
android:label="@string/app_name" | ||
android:supportsRtl="true" | ||
android:name="com.hypertrack.quickstart.MyApplication" | ||
android:theme="@style/AppTheme.NoActionBar"> | ||
|
||
<activity android:name="com.hypertrack.quickstart.LoginActivity"> | ||
android:name=".MyApplication" | ||
android:theme="@style/AppTheme" | ||
tools:ignore="AllowBackup,GoogleAppIndexingWarning"> | ||
<activity android:name=".MainActivity"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity android:name="com.hypertrack.quickstart.MainActivity"/> | ||
<service android:name="com.hypertrack.quickstart.MyFirebaseMessagingService" | ||
android:exported="false"> | ||
<intent-filter> | ||
<action android:name="com.google.firebase.MESSAGING_EVENT" /> | ||
</intent-filter> | ||
</service> | ||
</application> | ||
|
||
</manifest> |
32 changes: 0 additions & 32 deletions
32
app/src/main/java/com/hypertrack/quickstart/BaseActivity.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.