You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/dynamics-365/field-service/mobile-app/webview-reset.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,11 @@ ms.reviewer: mhart
7
7
ms.date: 12/12/2024
8
8
ms.custom: sap:Mobile Application\Application is throwing errors
9
9
---
10
-
# The Field Service mobile app shows the home page unexpectedly and a WebView reset occurs
11
-
12
-
This article helps you troubleshoot and resolve issues in the [Dynamics 365 Field Service mobile app](/dynamics365/field-service/mobile/overview), where the home page is unexpectedly displayed, and a WebView reset occurs.
13
10
14
11
# WebView Reset Overview
15
12
13
+
This article helps you troubleshoot and resolve issues in the [Dynamics 365 Field Service mobile app](/dynamics365/field-service/mobile/overview), where the home page is unexpectedly displayed, and a WebView reset occurs.
14
+
16
15
A WebView reset error while using Field Service Mobile indicates that the code within the app module is using too much memory. The cause of a WebView reset is the activity that precedes it, which causes memory pressure on the WebView process. Model-driven Applications in Power Apps like Field Service are web applications that are run within a WebView on the mobile client. This leaves them susceptible to memory management policies that mobile operating systems impose on these processes.
17
16
18
17
## The Root Cause
@@ -29,12 +28,12 @@ There are two common causes of memory pressure buildup to be aware of.
29
28
30
29
## Debugging Memory Pressure
31
30
32
-
The WebView reset error itself is specific to iOS applications running WebViews and can only be reproduced within that context, however any code causing memory pressure on mobile causes memory pressure buildup on desktop browsers as well. This enables investigation of the root cause of a WebView reset using browser debug tools, like those provided by Microsoft Edge for tracking memory usage: [Fix memory problems - Microsoft Edge Developer documentation](https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/memory-problems/) <br/>
33
-
These debugging tools are also available on mobile devices if needed: [Debugging JavaScript Code in Model-Driven Apps](https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/debug-javascript-code) <br/>
31
+
The WebView reset error itself is specific to iOS applications running WebViews and can only be reproduced within that context, however any code causing memory pressure on mobile causes memory pressure buildup on desktop browsers as well. This enables investigation of the root cause of a WebView reset using browser debug tools, like those provided by Microsoft Edge for tracking memory usage: [Fix memory problems - Microsoft Edge Developer documentation](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/memory-problems/) <br/>
32
+
These debugging tools are also available on mobile devices if needed: [Debugging JavaScript Code in Model-Driven Apps](https://learn.microsoft.com/power-apps/developer/model-driven-apps/clientapi/debug-javascript-code) <br/>
34
33
When debugging memory issues on iOS directly, Safari memory analysis tools enable you to identify the memory performance of the app module: [Timelines Tab](https://webkit.org/web-inspector/timelines-tab/)
35
34
36
35
## Related content
37
36
38
-
-[Debugging JavaScript Code in Model-Driven Apps](https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/debug-javascript-code)
39
-
-[Fix memory problems - Microsoft Edge Developer documentation](https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/memory-problems/)
37
+
-[Debugging JavaScript Code in Model-Driven Apps](https://learn.microsoft.com/power-apps/developer/model-driven-apps/clientapi/debug-javascript-code)
38
+
-[Fix memory problems - Microsoft Edge Developer documentation](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/memory-problems/)
40
39
-[Performance considerations when customizing the mobile app](/dynamics365/field-service/mobile/improve-mobile-performance)
0 commit comments