Skip to content

Commit

Permalink
Merge pull request #407 from jogrimst/master
Browse files Browse the repository at this point in the history
#272 Upgraded EventTracker library version
  • Loading branch information
literacyapp authored May 27, 2017
2 parents 4dc5114 + 4db75cd commit 7f8b35a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.literacyapp"
minSdkVersion 21
targetSdkVersion 23
versionCode 1006001
versionName "1.6.1"
versionCode 1006002
versionName "1.6.2"

// jackOptions {
// enabled true
Expand Down Expand Up @@ -98,7 +98,7 @@ dependencies {
compile project(':openCVLibrary310')
compile 'ch.zhaw:facerecognitionlibrary:1.4.0'

compile 'org.literacyapp.analytics:eventtracker:1.0.0'
compile 'org.literacyapp.analytics:eventtracker:1.0.1'

compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ public void onClick(View v) {

playLetterSound(letter);

EventTracker.reportUsageEvent(getApplicationContext(),
LiteracySkill.LETTER_IDENTIFICATION,
letter.getText());
EventTracker.reportLetterLearningEvent(getApplicationContext(), letter.getText());

Intent scrollingLetterIntent = new Intent(getApplicationContext(), ScrollingLetterActivity.class);
scrollingLetterIntent.putExtra("letter", letter.getText());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ public void onClick(View v) {

playNumberSound(number);

EventTracker.reportUsageEvent(getApplicationContext(),
NumeracySkill.NUMBER_IDENTIFICATION,
number.getValue());
EventTracker.reportNumberLearningEvent(getApplicationContext(), number.getValue());

Intent numberIntent = new Intent(getApplicationContext(), NumberActivity.class);
numberIntent.putExtra("number", number.getValue());
Expand Down

0 comments on commit 7f8b35a

Please sign in to comment.