Closed rwillett closed 8 years ago
Log level can be configured using Pushwoosh_LOG_LEVEL key in Info.plist https://github.com/Pushwoosh/pushwoosh-ios-sdk/blob/master/Documentation/InfoPlist.md
@DimanAM
Thanks for the quick reply.
Isn't that for IOS SDK and not for Cordova Plugin? We're already searched through the plugins directory for anything but couldn't see anything obvious. We didn't see any info.plist there (or anything similar) or in the Xcode files.
Apologies if we are being dense but nothing jumps out at us (still).
Best wishes,
Rob
Info.plist is located in platforms/ios/$PojectDir I suppose the best solution is to modify it using hooks if you want to build application using Cordova CLI
@DimanAM
We can see a .plist file for our project, Jambuster-Info.plist in platforms/ios/Jambuster. We had seen this before but hadn't understood how PushWoosh could interact with it. This is an ASCII editable file (which is nice).
Just to test the concept, we have to edit platforms/ios/Jambuster/Jambuster-Info.plist file to add in the PushWoosh LOG LEVEL key in the right format to this file
e.g.
<key>Pushwoosh_LOG_LEVEL</key>
<string>NONE</string>
Does it have to be in particular section or anywhere in the high level dictionary. We can play with the hooks to move from debug to production and add and remove the keys, we're happy with doing that sort of coding, its just making sure we understand the concept of what key in which format to add to which file.
Rob
Just to test the concept, we have to edit platforms/ios/Jambuster/Jambuster-Info.plist file to add in the PushWoosh LOG LEVEL key in the right format to this file
That's correct.
Does it have to be in particular section or anywhere in the high level dictionary
This key can be anywhere in the high level dictionary.
@DimanAM
Thanks very much.
Rob.
Tested and works.
Thanks again for quick help,
Have a good new year,
Rob
Hi,
We are getting so much debugging information coming out from PushWoosh on iOS/Xcode, its making it difficult to find our own debugging. e.g.