diff --git a/ios/RNDialog.m b/ios/RNDialog.m index 262c0fd..5e3b97e 100644 --- a/ios/RNDialog.m +++ b/ios/RNDialog.m @@ -18,7 +18,7 @@ @end @implementation RNDialog -RCT_EXPORT_MODULE() +RCT_EXPORT_MODULE(@"QXXDialogModule") - (dispatch_queue_t)methodQueue { return dispatch_get_main_queue(); diff --git a/ios/RNDialog.podspec b/ios/RNDialog.podspec deleted file mode 100644 index cfc06da..0000000 --- a/ios/RNDialog.podspec +++ /dev/null @@ -1,24 +0,0 @@ - -Pod::Spec.new do |s| - s.name = "RNDialog" - s.version = "1.0.0" - s.summary = "RNDialog" - s.description = <<-DESC - RNDialog - DESC - s.homepage = "" - s.license = "MIT" - # s.license = { :type => "MIT", :file => "FILE_LICENSE" } - s.author = { "author" => "author@domain.cn" } - s.platform = :ios, "7.0" - s.source = { :git => "https://github.com/author/RNDialog.git", :tag => "master" } - s.source_files = "RNDialog/**/*.{h,m}" - s.requires_arc = true - - - s.dependency "React" - #s.dependency "others" - s.dependency "MBProgressHUD" -end - - \ No newline at end of file diff --git a/react-native-QDDialog.podspec b/react-native-QDDialog.podspec new file mode 100644 index 0000000..b7d45b3 --- /dev/null +++ b/react-native-QDDialog.podspec @@ -0,0 +1,24 @@ + +Pod::Spec.new do |s| + s.name = "react-native-QDDialog" + s.version = "0.0.1" + s.summary = "react-native-QDDialog" + s.description = <<-DESC + react-native-QDDialog + DESC + s.homepage = "" + s.license = "MIT" + # s.license = { :type => "MIT", :file => "FILE_LICENSE" } + s.author = { "author" => "736139669@qq.com" } + s.platform = :ios, "7.0" + s.source = { :git => "https://github.com/wu736139669/react-native-QDDialog.git", :tag => "master" } + s.source_files = "eact-native-dialog/**/*.{h,m}" + s.requires_arc = true + + + s.dependency "React" + #s.dependency "others" + s.dependency "MBProgressHUD" +end + + \ No newline at end of file