# streamCreated not work

**URL:** https://openvidu.discourse.group/t/streamcreated-not-work/2727
**Category:** Issues developing apps
**Tags:** v2
**Created:** [February 20, 2021, 12:42pm UTC](https://openvidu.discourse.group/t/streamcreated-not-work/2727 "2021-02-20T12:42:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![test\_account](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/test_account/32/1333_2.png) [@test\_account](https://openvidu.discourse.group/u/test_account)
#### Post date: [February 20, 2021, 12:42pm UTC](https://openvidu.discourse.group/t/streamcreated-not-work/2727/1 "2021-02-20T12:42:22Z")

</div>

i 'm using openvidu in react native . all things in wrok fine , but don’t call event :  
streamCreated  
and get this messages (‘Connection’ created (remote) with ‘connectionId’ [con\_…])  
and get this error : ExceptionsManager.js:179 ReferenceError: document is not defined  
at PlatformUtils.isIPhoneOrIPad (Platform.js:77)  
at PlatformUtils.isIonicIos (Platform.js:98)  
at successCallback (Publisher.js:370)  
at getMediaSuccess (Publisher.js:494)  
at Publisher.js:607  
at tryCallOne (core.js:37)  
at core.js:123  
at JSTimers.js:274  
at \_callTimer (JSTimers.js:130)  
at \_callImmediatesPass (JSTimers.js:181)  
at MessageQueue.callImmediates [as \_immediatesCallback] (JSTimers.js:441)  
at MessageQueue.\_\_callImmediates (MessageQueue.js:387)  
at MessageQueue.js:135  
at MessageQueue.\_\_guard (MessageQueue.js:364)  
at MessageQueue.flushedQueue (MessageQueue.js:134)  
at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:130)

---

<div class="post-metadata">

### Author: ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)
#### Post date: [February 20, 2021, 3:12pm UTC](https://openvidu.discourse.group/t/streamcreated-not-work/2727/2 "2021-02-20T15:12:55Z")

</div>

Reac Native is a paid feature. Contact with us in [openvidu@gmail.com](mailto:openvidu@gmail.com) to get the react native library.

---

<div class="post-metadata">

### Author: ![test\_account](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/test_account/32/1333_2.png) [@test\_account](https://openvidu.discourse.group/u/test_account)
#### Post date: [February 21, 2021, 5:40am UTC](https://openvidu.discourse.group/t/streamcreated-not-work/2727/3 "2021-02-21T05:40:14Z")

</div>

that’s true. i paid , and i use money service. but i have this error!

---

<div class="post-metadata">

### Author: ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)
#### Post date: [February 22, 2021, 4:31pm UTC](https://openvidu.discourse.group/t/streamcreated-not-work/2727/4 "2021-02-22T16:31:05Z")

</div>

If this is a bug, try to reproduce it using the [sample app](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-react-native) and report us server and app logs. Moreover we need the steps to replicate your issue with our RN app.
