Skip to content

Commit

Permalink
Update default flutter_assets path for iOS embedding (flutter#7518)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield authored Jan 21, 2019
1 parent 02205db commit 05fee4e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ - (instancetype)initWithPrecompiledDartBundle:(NSBundle*)bundle {
+ (NSString*)flutterAssetsName:(NSBundle*)bundle {
NSString* flutterAssetsName = [bundle objectForInfoDictionaryKey:@"FLTAssetsPath"];
if (flutterAssetsName == nil) {
// Default to "flutter_assets"
flutterAssetsName = @"flutter_assets";
flutterAssetsName = @"Frameworks/App.framework/flutter_assets";
}
return flutterAssetsName;
}
Expand Down

0 comments on commit 05fee4e

Please sign in to comment.