Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit e0620c9

Browse files
authored
Merge pull request #18 from hikouki/fix-ios-isFirst
fix: isFirstRun was calling callback method twice.
2 parents 477c1bb + abb164b commit e0620c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ios/RNTreasureData.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ + (BOOL)requiresMainQueueSetup
264264
} else {
265265
reject(RCTErrorUnspecified, nil, nil);
266266
}
267-
268-
resolve([NSNumber numberWithBool:isFirstRun]);
269267
}
270268

271269
RCT_EXPORT_METHOD(clearFirstRun)

0 commit comments

Comments
 (0)