mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
Merge pull request #228 from Microsoft/cocoapods
Fixing Podspec for Swift consumption
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = 'CodePush'
|
||||
s.version = '1.7.3-beta'
|
||||
s.summary = 'React Native plugin for the CodePush service'
|
||||
s.author = 'Microsoft Corporation'
|
||||
s.license = 'MIT'
|
||||
s.homepage = 'http://microsoft.github.io/code-push/'
|
||||
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}" }
|
||||
s.platform = :ios, '7.0'
|
||||
s.source_files = '*.{h,m}', 'SSZipArchive/*.{h,m}', 'SSZipArchive/aes/*.{h,c}', 'SSZipArchive/minizip/*.{h,c}'
|
||||
s.preserve_paths = '*.js'
|
||||
s.library = 'z'
|
||||
s.name = 'CodePush'
|
||||
s.version = '1.7.4-beta'
|
||||
s.summary = 'React Native plugin for the CodePush service'
|
||||
s.author = 'Microsoft Corporation'
|
||||
s.license = 'MIT'
|
||||
s.homepage = 'http://microsoft.github.io/code-push/'
|
||||
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}" }
|
||||
s.platform = :ios, '7.0'
|
||||
s.source_files = 'ios/CodePush/*.{h,m}', 'ios/CodePush/SSZipArchive/*.{h,m}', 'ios/CodePush/SSZipArchive/aes/*.{h,c}', 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
|
||||
s.public_header_files = 'ios/CodePush/CodePush.h'
|
||||
s.preserve_paths = '*.js'
|
||||
s.library = 'z'
|
||||
s.dependency 'React'
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1,6 +1,6 @@
|
||||
#import "RCTBridgeModule.h"
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface CodePush : NSObject <RCTBridgeModule>
|
||||
@interface CodePush : NSObject
|
||||
|
||||
+ (NSURL *)binaryBundleURL;
|
||||
/*
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
|
||||
#import "CodePush.h"
|
||||
|
||||
@interface CodePush () <RCTBridgeModule>
|
||||
@end
|
||||
|
||||
@implementation CodePush {
|
||||
BOOL _hasResumeListener;
|
||||
BOOL _isFirstRunAfterUpdate;
|
||||
|
||||
Reference in New Issue
Block a user