mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	fix android build
This commit is contained in:
		| @@ -204,17 +204,18 @@ const styles = StyleSheet.create({ | ||||
| }); | ||||
|  | ||||
| // use Pushy for China users | ||||
| // const updateClient = new Pushy({ | ||||
| const updateClient = new Pushy({ | ||||
|   appKey, | ||||
|   debug: true, | ||||
|   // updateStrategy: 'silentAndLater', | ||||
| }); | ||||
|  | ||||
| // use Cresc for global users | ||||
| // const updateClient = new Cresc({ | ||||
| //   appKey, | ||||
| //   debug: true, | ||||
| // }); | ||||
|  | ||||
| // use Cresc for global users | ||||
| const updateClient = new Cresc({ | ||||
|   appKey, | ||||
|   debug: true, | ||||
| }); | ||||
|  | ||||
| export default function Root() { | ||||
|   return ( | ||||
|     <UpdateProvider client={updateClient}> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm