In page module, when a page description is not empty, it should be displayed when people clicked to view the page, it works fine in website, description is displayed in the page, but it doesn't display in mobile app. When the description contains video or something else important, it could be a malfunction, because the inconsistency between web and mobile app and missed out the infomation.
I did some research about this.
1.Checked with core_course_get_contents API, found that no description returned in the module area.
2.Edit the module in website, make sure Appearance->Display page description is ticked.
3.Putted a lot of effort to look into the code, start from the core_course_get_contents method, tracked down to page_get_coursemodule_info in ~/moodle/mod/page/lib.php found the real problem. There is nothing to do with $printintro which should be combined with $coursemodule->showdescription to determine whether to passed $info->content(the description) to the caller.
The really problem is it doesn't put description into the API result when $printintro doesn't play a role.
To correct it, write like this in page_get_coursemodule_info method:
if ($coursemodule->showdescription || $printintro)
Maybe it's just a walk around, but it do solved the problem, if there's a better way please kindly to point out.
I really hope in next version, the problem could be solved, thanks in advance, cheers.