Skip to content

Commit

Permalink
ios allow on wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Rana committed Feb 9, 2024
1 parent e76ebf7 commit 17bf82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MlkitEntityExtraction.m
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ - (NSString *) mapEntityTypeRev:(int ) type
successCallback:(RCTResponseSenderBlock)successCallback
failCallback:(RCTResponseSenderBlock)failCallback )
{
MLKModelDownloadConditions *conditions = [[MLKModelDownloadConditions alloc] initWithAllowsCellularAccess:NO
MLKModelDownloadConditions *conditions = [[MLKModelDownloadConditions alloc] initWithAllowsCellularAccess:YES
allowsBackgroundDownloading:YES];
MLKEntityExtractionRemoteModel *lmodel = [MLKEntityExtractionRemoteModel entityExtractorRemoteModelWithIdentifier: MLKEntityExtractionModelIdentifierForLanguageTag(lang)];
NSLog(@"lang 是 ======> %@",lang);
Expand Down

0 comments on commit 17bf82d

Please sign in to comment.