Skip to content

Commit 421c260

Browse files
committed
fix: example
1 parent e76f829 commit 421c260

File tree

4 files changed

+4
-9881
lines changed

4 files changed

+4
-9881
lines changed

example/ios/ElementTimerExample.xcodeproj/project.pbxproj

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@
206206
13B07F8E1A680F5B00A75B9A /* Resources */,
207207
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
208208
C1D60D28B925C94BD88E79D7 /* [CP] Copy Pods Resources */,
209-
DB20C504A6B349A0230BE31F /* [CP] Embed Pods Frameworks */,
210209
);
211210
buildRules = (
212211
);
@@ -404,24 +403,6 @@
404403
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ElementTimerExample/Pods-ElementTimerExample-resources.sh\"\n";
405404
showEnvVarsInLog = 0;
406405
};
407-
DB20C504A6B349A0230BE31F /* [CP] Embed Pods Frameworks */ = {
408-
isa = PBXShellScriptBuildPhase;
409-
buildActionMask = 2147483647;
410-
files = (
411-
);
412-
inputPaths = (
413-
"${PODS_ROOT}/Target Support Files/Pods-ElementTimerExample/Pods-ElementTimerExample-frameworks.sh",
414-
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
415-
);
416-
name = "[CP] Embed Pods Frameworks";
417-
outputPaths = (
418-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
419-
);
420-
runOnlyForDeploymentPostprocessing = 0;
421-
shellPath = /bin/sh;
422-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ElementTimerExample/Pods-ElementTimerExample-frameworks.sh\"\n";
423-
showEnvVarsInLog = 0;
424-
};
425406
FD10A7F022414F080027D42C /* Start Packager */ = {
426407
isa = PBXShellScriptBuildPhase;
427408
buildActionMask = 2147483647;

example/ios/ElementTimerExample/AppDelegate.m

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,10 @@
1111
#import <React/RCTBundleURLProvider.h>
1212
#import <React/RCTRootView.h>
1313

14-
#ifdef FB_SONARKIT_ENABLED
15-
#import <FlipperKit/FlipperClient.h>
16-
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
17-
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
18-
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
19-
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
20-
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
21-
static void InitializeFlipper(UIApplication *application) {
22-
FlipperClient *client = [FlipperClient sharedClient];
23-
SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
24-
[client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
25-
[client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
26-
[client addPlugin:[FlipperKitReactPlugin new]];
27-
[client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
28-
[client start];
29-
}
30-
#endif
31-
3214
@implementation AppDelegate
3315

3416
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
3517
{
36-
#ifdef FB_SONARKIT_ENABLED
37-
InitializeFlipper(application);
38-
#endif
3918
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
4019
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
4120
moduleName:@"ElementTimerExample"

example/ios/Podfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ target 'ElementTimerExample' do
1212
#
1313
# Note that if you have use_frameworks! enabled, Flipper will not work and
1414
# you should disable these next few lines.
15-
use_flipper!({ 'Flipper' => '0.80.0' })
16-
post_install do |installer|
17-
flipper_post_install(installer)
18-
end
15+
# use_flipper!({ 'Flipper' => '0.80.0' })
16+
# post_install do |installer|
17+
# flipper_post_install(installer)
18+
# end
1919
end

0 commit comments

Comments
 (0)