mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-11-01 05:43:11 +08:00 
			
		
		
		
	support to Expo (#486)
* support to Expo * update * update * update --------- Co-authored-by: Steven <steven@Stevens-MacBook-Pro.local>
This commit is contained in:
		
							
								
								
									
										7
									
								
								ios/Expo/ExpoPushyModule.swift
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								ios/Expo/ExpoPushyModule.swift
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| import ExpoModulesCore | ||||
|  | ||||
| public class ExpoPushyModule: Module { | ||||
|   public func definition() -> ModuleDefinition { | ||||
|     Name("ExpoPushy") | ||||
|   } | ||||
| } | ||||
							
								
								
									
										10
									
								
								ios/Expo/ExpoPushyReactDelegateHandler.swift
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								ios/Expo/ExpoPushyReactDelegateHandler.swift
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| import ExpoModulesCore | ||||
| import react_native_update | ||||
|  | ||||
| public final class ExpoPushyReactDelegateHandler: ExpoReactDelegateHandler { | ||||
|   private weak var reactDelegate: ExpoReactDelegate? | ||||
|  | ||||
|   public override func bundleURL(reactDelegate: ExpoReactDelegate) -> URL? { | ||||
|     return  RCTPushy.bundleURL() | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 波仔糕
					波仔糕