title: Value for message cannot be cast from ReadableNativeMap to String
body: <p>I am new to React Native and in my React Native application, I am trying to display react-native Alert.alert and for the message string, I am iterating over the JSON array and appending to message.</p>
  <p>However, I am getting Value for the message cannot be cast from ReadableNativeMap to String error.</p>
  <p><a href="https://i.stack.imgur.com/sJVs6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sJVs6.png" alt="enter image description here" /></a></p>
  <pre><code>                           var message = ``;
                             if (responseJson.data.createdList) {
                                 message = `${responseJson.data.createdList.length} barcodes scanned :\n`
  
                                 responseJson.data.createdList.map(value =&gt; {
                                   message = mesasge+  `${value} \n`
                                 })
                             }
                             if (responseJson.data.totalProcessed &amp;&amp; responseJson.data.existList &amp;&amp; responseJson.data.totalCreated !== responseJson.data.totalProcessed) {
                                 message = message + `${responseJson.data.existList.length} barcode already exists\n`
                                 responseJson.data.existList.map(value =&gt; {
                                   message=message+  `${value} \n`
                                 })
                             }
                                   message=message+  `Continue Scanning ${this.state.selectedProductName} ?`
                           Alert.alert(
                                 `Process Results - Total Created: ${
                                 responseJson.data.totalCreated
                               }`,
                               message,
                                 [
                                     {
                                         text: &quot;OK&quot;,
                                         onPress: () =&gt; {  },
                                 
                                         }
                                     },
                                 ]
                             );
  </code></pre>
  <p>I tried using JSON.stringify(message) instead of the message but it gives the same error.
  How can I use &quot;message&quot; in Alert.alert?</p>