Tweaks for Android

This commit is contained in:
John Lyon-Smith
2018-06-28 09:51:26 -07:00
parent 94c5e804a8
commit 8f9efa4373
4 changed files with 15 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="DeightonAR" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/app" external.system.id="GRADLE" type="JAVA_MODULE" version="4"> <module external.linked.project.id="DeightonAR" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager"> <component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle"> <facet type="java-gradle" name="Java-Gradle">
<configuration> <configuration>
@@ -8,7 +8,7 @@
</configuration> </configuration>
</facet> </facet>
</component> </component>
<component name="NewModuleRootManager" inherit-compiler-output="true"> <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> <excludeFolder url="file://$MODULE_DIR$/.gradle" />

View File

@@ -22,7 +22,7 @@
</configuration> </configuration>
</facet> </facet>
</component> </component>
<component name="NewModuleRootManager"> <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" /> <output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" /> <output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" />
<exclude-output /> <exclude-output />
@@ -103,7 +103,7 @@
<excludeFolder url="file://$MODULE_DIR$/build/reports" /> <excludeFolder url="file://$MODULE_DIR$/build/reports" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" /> <excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="jdk" jdkName="Android API 27 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: com.android.support:support-fragment-25.0.0" level="project" /> <orderEntry type="library" name="Gradle: com.android.support:support-fragment-25.0.0" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:fbcore-1.3.0" level="project" /> <orderEntry type="library" name="Gradle: com.facebook.fresco:fbcore-1.3.0" level="project" />
@@ -149,6 +149,5 @@
<orderEntry type="module" module-name="react-native-maps" /> <orderEntry type="module" module-name="react-native-maps" />
<orderEntry type="module" module-name="react-native-image-resizer" /> <orderEntry type="module" module-name="react-native-image-resizer" />
<orderEntry type="module" module-name="react-native-image-picker" /> <orderEntry type="module" module-name="react-native-image-picker" />
<orderEntry type="library" name="Gradle: android-android-27" level="project" />
</component> </component>
</module> </module>

View File

@@ -20,7 +20,7 @@ export class BubbleLoader extends React.Component {
this.animatedScales.map((value, i) => this.animatedScales.map((value, i) =>
Animated.sequence([ Animated.sequence([
Animated.timing(value, { Animated.timing(value, {
toValue: 0.0, toValue: 0.01,
duration: 800, duration: 800,
delay: 200 * i, delay: 200 * i,
easing: Easing.out(Easing.sin), easing: Easing.out(Easing.sin),

View File

@@ -28,11 +28,19 @@ export class Geolocation extends Component {
this.props.onUpdate(position) this.props.onUpdate(position)
)), )),
null, null,
{ distanceFilter: 5, maximumAge: 0, enableHighAccuracy: true } {
distanceFilter: 5,
maximumAge: 0,
timeout: 20000,
}
} }
}, },
null, null,
{ distanceFilter: 5, maximumAge: 0, enableHighAccuracy: true } {
distanceFilter: 5,
maximumAge: 0,
timeout: 20000,
}
) )
} }