We are using Typewriter for Objective-C, which as I understand it - requires ~Typerwriter 7.x. In the docs here, it mentions that...
If you use a statically typed language (such as TypeScript, Java, Objective-C, or Swift), you get access to compile-time warnings about your instrumentation
The image below that except shows the compiler flagging a parameter supplying the wrong type (a string instead of a number).
As far as I can tell, all Objective-C parameters are generated as Strings, regardless of what data type the tracking plan dictates. Here's an example of our output, even though some of these parameters aren't string types in our plan:
We are using Typewriter for Objective-C, which as I understand it - requires ~Typerwriter 7.x. In the docs here, it mentions that...
The image below that except shows the compiler flagging a parameter supplying the wrong type (a
string
instead of anumber
).As far as I can tell, all Objective-C parameters are generated as Strings, regardless of what data type the tracking plan dictates. Here's an example of our output, even though some of these parameters aren't
string
types in our plan:Is there a way for Typewriter to generate strongly typed parameters according to their tracking plan counterparts data type?