This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains the fastlane.tools configuration | |
# You can find the documentation at https://docs.fastlane.tools | |
# | |
# For a list of all available actions, check out | |
# | |
# https://docs.fastlane.tools/actions | |
# | |
# Uncomment the line if you want fastlane to automatically update itself | |
# update_fastlane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_handleAppStateChange = appState => { | |
console.log('in appstatechange') | |
const { status, manualStop } = this.state | |
if (appState === 'active') { | |
this._updatePermissions('location', 'handle') | |
if (status === 'authorized' && !manualStop) { | |
console.log('[NOTE] app is in handleAppstate and authorized, starting tracking!!!') | |
BackgroundGeolocation.configure({ | |
locationProvider: BackgroundGeolocation.RAW_PROVIDER, | |
interval: 10000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
state = { | |
activeSlide: FIRSTITEM, | |
markerPlaceAble: false, | |
promptVisible: false, | |
placedMarkerCoords: {}, | |
types: [], | |
status: '', | |
statusAlways: '', | |
alertShowed: false, | |
region: null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_handleAppStateChange = appState => { | |
const { status, manualStop } = this.state | |
if (appState === 'active') { | |
this._updatePermissions('location', 'handle') | |
if (status === 'authorized' && !manualStop) { | |
console.log('[NOTE] app is in handleAppstate and authorized, starting tracking!!!') | |
BackgroundGeolocation.configure({ | |
locationProvider: BackgroundGeolocation.RAW_PROVIDER, | |
interval: 20000, | |
fastestInterval: 5000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
ScrollView, | |
Animated, | |
Image, | |
Dimensions, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.crescendo.sql.informat.controllers; | |
import com.crescendo.sql.informat.DTO.StudentHistoryDTO; | |
import com.crescendo.sql.informat.repositories.StudenthistoryRepository; | |
import com.crescendo.sql.utils.CustomErrorType; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.PathVariable; |