# Prevent AR Session from stopping the first time

**URL:** <https://forums.unrealengine.com/t/prevent-ar-session-from-stopping-the-first-time/480518>\
**Category:** Mobile\
**Tags:** Mobile, stop-rendering, unreal-engine, Android, bug-report, Augmented-Reality, question\
**Created:** [March 18, 2021, 4:41pm UTC](https://forums.unrealengine.com/t/prevent-ar-session-from-stopping-the-first-time/480518 "2021-03-18T16:41:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jetbleu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jetbleu](https://forums.unrealengine.com/u/Jetbleu)\
**Post date:** [March 18, 2021, 4:41pm UTC](https://forums.unrealengine.com/t/prevent-ar-session-from-stopping-the-first-time/480518/1 "2021-03-18T16:41:03Z")

</div>

I have a question regarding the AR session,

I have implemented a Sign In and a Screenshot & Share to Social Media Features for my app, but whenever I use one of them for the first time, the app goes to the background and it stops de AR Session causing a black screen, if I restart my app it works normally even if I stop and reset AR Session, this only happens the first time you open the application.

Is there a way to prevent this to happen or to modify the android activity events to tell the system to not stop AR Session. Btw I have tested my app in iOS and it works without problems, the problem only exists in Android

Thanks for your help in advance,
