Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 7c5d910

Browse files
authored
Update CodePush.m
1 parent a01f485 commit 7c5d910

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ios/CodePush/CodePush.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,16 @@ + (NSURL *)bundleURLForResource:(NSString *)resourceName
7676
{
7777
bundleResourceName = resourceName;
7878
return [self bundleURLForResource:resourceName
79-
withExtension:bundleResourceExtension];
79+
withExtension:bundleResourceExtension
80+
subdirectory:bundleResourceSubdirectory];
8081
}
8182

8283
+ (NSURL *)bundleURLForResource:(NSString *)resourceName
8384
withExtension:(NSString *)resourceExtension
8485
{
8586
return [self bundleURLForResource:resourceName
8687
withExtension:resourceExtension
87-
subdirectory:nil];
88+
subdirectory:bundleResourceSubdirectory];
8889
}
8990

9091
+ (NSURL *)bundleURLForResource:(NSString *)resourceName
@@ -845,4 +846,4 @@ - (void)didUpdateFrame:(RCTFrameUpdate *)update
845846
_didUpdateProgress = NO;
846847
}
847848

848-
@end
849+
@end

0 commit comments

Comments
 (0)