From 8f9efa4373b751c6fe8b941c1e7bc4b6906797cb Mon Sep 17 00:00:00 2001 From: John Lyon-Smith Date: Thu, 28 Jun 2018 09:51:26 -0700 Subject: [PATCH] Tweaks for Android --- mobile/android/DeightonAR.iml | 4 ++-- mobile/android/app/app.iml | 5 ++--- mobile/src/ui/BubbleLoader.js | 2 +- mobile/src/ui/Geolocation.js | 12 ++++++++++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/mobile/android/DeightonAR.iml b/mobile/android/DeightonAR.iml index a0af59d..d6795cd 100644 --- a/mobile/android/DeightonAR.iml +++ b/mobile/android/DeightonAR.iml @@ -1,5 +1,5 @@ - + @@ -8,7 +8,7 @@ - + diff --git a/mobile/android/app/app.iml b/mobile/android/app/app.iml index 0849881..cbdd236 100644 --- a/mobile/android/app/app.iml +++ b/mobile/android/app/app.iml @@ -22,7 +22,7 @@ - + @@ -103,7 +103,7 @@ - + @@ -149,6 +149,5 @@ - \ No newline at end of file diff --git a/mobile/src/ui/BubbleLoader.js b/mobile/src/ui/BubbleLoader.js index 1f2f263..41db527 100644 --- a/mobile/src/ui/BubbleLoader.js +++ b/mobile/src/ui/BubbleLoader.js @@ -20,7 +20,7 @@ export class BubbleLoader extends React.Component { this.animatedScales.map((value, i) => Animated.sequence([ Animated.timing(value, { - toValue: 0.0, + toValue: 0.01, duration: 800, delay: 200 * i, easing: Easing.out(Easing.sin), diff --git a/mobile/src/ui/Geolocation.js b/mobile/src/ui/Geolocation.js index c9e5e41..1ec2d7c 100644 --- a/mobile/src/ui/Geolocation.js +++ b/mobile/src/ui/Geolocation.js @@ -28,11 +28,19 @@ export class Geolocation extends Component { this.props.onUpdate(position) )), null, - { distanceFilter: 5, maximumAge: 0, enableHighAccuracy: true } + { + distanceFilter: 5, + maximumAge: 0, + timeout: 20000, + } } }, null, - { distanceFilter: 5, maximumAge: 0, enableHighAccuracy: true } + { + distanceFilter: 5, + maximumAge: 0, + timeout: 20000, + } ) }