title: Swift native code returns iOS version instead of bool
body: <p>I am trying to return a boolean value from Swift native code however instead of returning the boolean it returns a String which contains the iOS version of my device and shows me the error -</p>
  <pre><code>Unhandled Exception: type 'String' is not a subtype of type 'bool' in type cast
  </code></pre>
  <p>This is where my dart code is causing the problem</p>
  <pre><code>static Future&lt;bool&gt; isLoaded() async {
      return _channel.invokeMethod(&quot;isLoaded&quot;);
    }
  </code></pre>
  <p>This is the iOS Swift native code :</p>
  <pre><code>case &quot;isLoaded&quot;:    
   result(self.p.isContentReady)  //returns a bool true or false          
     break;
  </code></pre>
  <p>This is what I am calling to print the bool -</p>
  <pre><code>print(await Tapjoy.isLoaded()) //returns iOS 14.4 as a 'String' instead of true/false
  </code></pre>