From 056cb521341d297118d559d04deec347e4df139f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gonz=C3=A1lez-Santiago=20Gonz=C3=A1lez?= Date: Thu, 31 Jan 2019 16:34:07 +0100 Subject: [PATCH 1/3] Create react-native-simple-toast.podspec --- react-native-simple-toast.podspec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 react-native-simple-toast.podspec diff --git a/react-native-simple-toast.podspec b/react-native-simple-toast.podspec new file mode 100644 index 0000000..32f7c6a --- /dev/null +++ b/react-native-simple-toast.podspec @@ -0,0 +1,18 @@ + +require "json" +package = JSON.parse(File.read('package.json')) + +Pod::Spec.new do |s| + s.name = package['name'] + s.version = package['version'] + s.summary = package['description'] + s.author = "Libin Lu" + s.license = package['license'] + s.requires_arc = true + s.homepage = "https://github.com/thiemo--bleeken/react-native-simple-toast" + s.source = { :git => 'https://github.com/thiemo--bleeken/react-native-simple-toast.git' } + s.platform = :ios, '8.0' + s.source_files = "ios/**/*.{h,m}" + + s.dependency "React" +end From 7e04d3a20a9e6f9aa2d0e73aed3b3cf024150ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gonz=C3=A1lez-Santiago=20Gonz=C3=A1lez?= Date: Thu, 31 Jan 2019 16:35:06 +0100 Subject: [PATCH 2/3] Avoid requiresMainQueueSetup warning --- ios/LRDRCTSimpleToast/LRDRCTSimpleToast.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/LRDRCTSimpleToast/LRDRCTSimpleToast.m b/ios/LRDRCTSimpleToast/LRDRCTSimpleToast.m index f78bcc5..04057a5 100644 --- a/ios/LRDRCTSimpleToast/LRDRCTSimpleToast.m +++ b/ios/LRDRCTSimpleToast/LRDRCTSimpleToast.m @@ -106,5 +106,10 @@ - (void)_show:(NSString *)msg duration:(NSTimeInterval)duration gravity:(NSInteg }); } ++ (BOOL)requiresMainQueueSetup +{ + return YES; +} + @end From 62f662377b6aa4fb33d5c8ad43eb179f60f57c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gonz=C3=A1lez-Santiago=20Gonz=C3=A1lez?= Date: Thu, 14 Mar 2019 09:34:07 +0100 Subject: [PATCH 3/3] Update react-native-simple-toast.podspec --- react-native-simple-toast.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-native-simple-toast.podspec b/react-native-simple-toast.podspec index 32f7c6a..9a09001 100644 --- a/react-native-simple-toast.podspec +++ b/react-native-simple-toast.podspec @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.author = "Libin Lu" s.license = package['license'] s.requires_arc = true - s.homepage = "https://github.com/thiemo--bleeken/react-native-simple-toast" - s.source = { :git => 'https://github.com/thiemo--bleeken/react-native-simple-toast.git' } + s.homepage = "https://github.com/xgfe/react-native-simple-toast" + s.source = { :git => 'https://github.com/xgfe/react-native-simple-toast' } s.platform = :ios, '8.0' s.source_files = "ios/**/*.{h,m}"