You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Co-authored-by: Tib Teng <661892+tiberiusteng@users.noreply.github.com> Co-authored-by: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
		| @@ -948,6 +948,21 @@ class AppComponent extends React.Component { | ||||
| 				throw error; | ||||
| 			} | ||||
|  | ||||
| 			// https://reactnative.dev/docs/linking#handling-deep-links | ||||
| 			// | ||||
| 			// The handler added with Linking.addEventListener() is only triggered when app is already open. | ||||
| 			// | ||||
| 			// When the app is not already open and the deep link triggered app launch, | ||||
| 			// the URL can be obtained with Linking.getInitialURL(). | ||||
| 			// | ||||
| 			// We only save the URL here since we want to show the content only | ||||
| 			// after biometrics check is passed or known disabled. | ||||
| 			const url = await Linking.getInitialURL(); | ||||
| 			if (url && isCallbackUrl(url)) { | ||||
| 				logger.info('received initial callback url: ', url); | ||||
| 				this.callbackUrl = url; | ||||
| 			} | ||||
|  | ||||
| 			const loadedSensorInfo = await sensorInfo(); | ||||
| 			this.setState({ sensorInfo: loadedSensorInfo }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user