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"?>
<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">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
@@ -8,7 +8,7 @@
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />

View File

@@ -22,7 +22,7 @@
</configuration>
</facet>
</component>
<component name="NewModuleRootManager">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" />
<exclude-output />
@@ -103,7 +103,7 @@
<excludeFolder url="file://$MODULE_DIR$/build/reports" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="Android API 27 Platform" jdkType="Android SDK" />
<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.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-image-resizer" />
<orderEntry type="module" module-name="react-native-image-picker" />
<orderEntry type="library" name="Gradle: android-android-27" level="project" />
</component>
</module>

View File

@@ -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),

View File

@@ -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,
}
)
}