Skip to content

Commit

Permalink
added POST debug
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Jan 8, 2024
1 parent 0f0cd0f commit b2a6674
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========


2.0.1 (January 8, 2024)
-----------------------
- Enh: Improve Mobile Page Debug Page with POST Debug

2.0.0 (October 17, 2023)
------------------------------
- Enh: Translations & Stable Release
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"humhub": {
"minVersion": "1.14"
},
"version": "2.0.0",
"version": "2.0.1",
"screenshots": []
}
6 changes: 5 additions & 1 deletion views/mobile-app/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
</div>
<div class="panel-body">





<?php if (MobileAppHelper::isAppRequest()): ?>
<p class="alert alert-success">
<strong>App Detection</strong> - Current Request: Is App Request
Expand All @@ -32,6 +36,7 @@

<?= Html::a('Show Opener', '#', ['class' => 'btn btn-default postFlutterMsgLink', 'data-message' => Json::encode(['type' => 'showOpener'])]); ?>
<?= Html::a('Hide Opener', '#', ['class' => 'btn btn-default postFlutterMsgLink', 'data-message' => Json::encode(['type' => 'hideOpener'])]); ?>
<?= Html::a('Open this page as POST Request', ['index'], ['data-method' => 'POST', 'class' => 'btn btn-default']); ?>

</div>
</div>
Expand Down Expand Up @@ -93,7 +98,6 @@

&middot;
<?= $fcm->sender_id ?>

&middot;

<?= Html::a('Delete', ['index', 'deleteToken' => $fcm->id, 'confirm' => 'PWA: You may need to delete token from localStorage to trigger resave!']) ?>
Expand Down

0 comments on commit b2a6674

Please sign in to comment.