Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mczernek committed Feb 26, 2020
1 parent 0d2f255 commit 4737006
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,18 @@ This is the log of notable changes to the Expo client that are developer-facing.

### 📚 3rd party library updates

### 🛠 Breaking changes

### 🎉 New features

### 🐛 Bug fixes

- Fixed multiplied callbacks in av after replaying ([#7193](https://github.com/expo/expo/pull/7193) by [@mczernek](https://github.com/mczernek))

## 37.0.0

### 📚 3rd party library updates

- Updated `react-native-shared-element` from `0.5.1` to `0.5.6`. ([#7033](https://github.com/expo/expo/pull/7033) by [@IjzerenHein](https://github.com/IjzerenHein))
- Updated `@react-native-community/netinfo` from `4.6.0` to `5.5.0`. **Some deprecated methods have been removed in this version, make sure to check out [`NetInfo` docs](https://github.com/react-native-community/react-native-netinfo) for available API.** ([#7095](https://github.com/expo/expo/pull/7095) by [@tsapeta](https://github.com/tsapeta))
- Updated `@react-native-community/datetimepicker` from `2.1.0` to `2.2.2`. ([#7119](https://github.com/expo/expo/pull/7119) by [@tsapeta](https://github.com/tsapeta))
Expand Down
2 changes: 2 additions & 0 deletions packages/expo-av/android/build.gradle
Expand Up @@ -72,6 +72,8 @@ if (new File(rootProject.projectDir.parentFile, 'package.json').exists()) {
}

dependencies {

// Uncomment to run unit tests
// implementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
// runtimeOnly "org.junit.jupiter:junit-jupiter-engine:5.5.1"
//
Expand Down
Expand Up @@ -7,6 +7,12 @@ interface TimeMachine {
val time: Long
}

/**
* @mczernek: NOTE that this class has corresponding test suite. However, since I was unable to set
* them up correctly, in order to run them, you should uncomment dependencies in module's build.gradle,
* and contents of test class: at packages/expo-av/android/src/test/java/expo/modules/av/progress/ProgressLooperTest.kt
* Note, that this breaks client's build, so remember to comment it back.q
*/
typealias PlayerProgressListener = () -> Unit

class ProgressLooper(private val timeMachine: TimeMachine) {
Expand Down
@@ -1,4 +1,5 @@
//package expo.modules.av.progress
// Uncomment when refactoring ProgressLooper
// package expo.modules.av.progress
//
//import io.mockk.Runs
//import io.mockk.every
Expand Down

0 comments on commit 4737006

Please sign in to comment.