File tree Expand file tree Collapse file tree
dynamic-links/plugin/src/ios Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import fs from 'fs';
66const methodInvocationBlock = `[FIRApp configure];` ;
77// https://regex101.com/r/mPgaq6/1
88const methodInvocationLineMatcher =
9- / (?: ( s e l f \. | _ ) ( \w + ) \s ? = \s ? \[ \[ U M M o d u l e R e g i s t r y A d a p t e r a l l o c \] ) | (?: R C T B r i d g e \s ? \* \s ? ( \w + ) \s ? = \s ? \[ ( \[ R C T B r i d g e a l l o c \] | s e l f \. r e a c t D e l e g a t e ) ) / g;
9+ / (?: s e l f \. m o d u l e N a m e \s * = \s * @ \" ( [ ^ " ] * ) \" ; ) | (?: ( s e l f \. | _ ) ( \w + ) \s ? = \s ? \[ \[ U M M o d u l e R e g i s t r y A d a p t e r a l l o c \] ) | (?: R C T B r i d g e \s ? \* \s ? ( \w + ) \s ? = \s ? \[ ( \[ R C T B r i d g e a l l o c \] | s e l f \. r e a c t D e l e g a t e ) ) / g;
1010
1111// https://regex101.com/r/nHrTa9/1/
1212// if the above regex fails, we can use this one as a fallback:
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import fs from 'fs';
66const methodInvocationBlock = `[RNFBDynamicLinksAppDelegateInterceptor sharedInstance];` ;
77// https://regex101.com/r/mPgaq6/1
88const methodInvocationLineMatcher =
9- / (?: ( s e l f \. | _ ) ( \w + ) \s ? = \s ? \[ \[ U M M o d u l e R e g i s t r y A d a p t e r a l l o c \] ) | (?: R C T B r i d g e \s ? \* \s ? ( \w + ) \s ? = \s ? \[ ( \[ R C T B r i d g e a l l o c \] | s e l f \. r e a c t D e l e g a t e ) ) / g;
9+ / (?: s e l f \. m o d u l e N a m e \s * = \s * @ \" ( [ ^ " ] * ) \" ; ) | (?: ( s e l f \. | _ ) ( \w + ) \s ? = \s ? \[ \[ U M M o d u l e R e g i s t r y A d a p t e r a l l o c \] ) | (?: R C T B r i d g e \s ? \* \s ? ( \w + ) \s ? = \s ? \[ ( \[ R C T B r i d g e a l l o c \] | s e l f \. r e a c t D e l e g a t e ) ) / g;
1010
1111// https://regex101.com/r/nHrTa9/1/
1212// if the above regex fails, we can use this one as a fallback:
You can’t perform that action at this time.
0 commit comments