ITMS-90338: Non-public API usage
See original GitHub issueYour Environment
- Plugin version: 3.0.3
- Platform: iOS
- OS version: N/A
- Device manufacturer and model: N/A
- Running in Simulator: No
- Cordova version (
cordova -v
): 8.1.2 (cordova-lib@8.1.1) - Cordova platform version (
cordova platform ls
): ios 5.0.0 - Plugin configuration options: GOOGLE_PLAY_SERVICES_VERSION=15.0.1 ANDROID_SUPPORT_LIBRARY_VERSION=27.+
- Link to your project: private
Context
Got a message from App Store Connect no_reply@email.apple.com: ITMS-90338: Non-public API usage - The app references non-public selectors in databasePool:didAddDatabase:, databasePool:shouldAddDatabaseToPool:, ddSetLogLevel:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app’s Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Is it a false-positive by any chance?
Details
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.m:2997: SEL setterSel = @selector(ddSetLogLevel:);
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.m:3138: [aClass ddSetLogLevel:level];
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.h:760: * + (void)ddSetLogLevel:(DDLogLevel)level
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.h:771:+ (void)ddSetLogLevel:(DDLogLevel)level;
./Plugins/cordova-plugin-mauron85-background-geolocation/FMDB.m:1884: if (shouldNotifyDelegate && [self->_delegate respondsToSelector:@selector(databasePool:didAddDatabase:)]) {
./Plugins/cordova-plugin-mauron85-background-geolocation/FMDB.m:1875: if ([self->_delegate respondsToSelector:@selector(databasePool:shouldAddDatabaseToPool:)] && ![self->_delegate databasePool:self shouldAddDatabaseToPool:db]) {
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13
Top GitHub Comments
Here is a quick and dirty patch I have wrote as a workaround for this issue: https://gist.github.com/ptisserand/29dd8d4643c67fad47599d77a1198b25
This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn’t be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it’s important. Thank you for your contributions.