Skip to content

Commit

Permalink
Add information that secret and registrationUrl is needed (#1164)
Browse files Browse the repository at this point in the history
* Add information that secret and registrationUrl is needed

* Remove very old version tag from CDN url
  • Loading branch information
Isengo1989 authored Nov 8, 2023
1 parent 8537dcb commit 14675a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions guides/plugins/apps/starter/starter-admin-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ SimpleNotification/
<!doctype html>
<html>
<head>
<script src="https://unpkg.com/@shopware-ag/admin-extension-sdk@0.0.52/cdn"></script>
<script src="https://unpkg.com/@shopware-ag/admin-extension-sdk/cdn"></script>
</head>
<script>
sw.notification.dispatch({
Expand Down Expand Up @@ -114,7 +114,7 @@ Now the file should be available on [http://127.0.0.1:8080](http://127.0.0.1:808

The final step of the setup is to configure your app to use that file as an entry point.

In order to do that, we have to add an `admin` section to our `manifest.xml` file and pass it into the `base-app-url` tag:
To do that, we have to add an `admin` section to our `manifest.xml` file and pass it into the `base-app-url` tag:

```xml
// manifest.xml
Expand All @@ -123,6 +123,10 @@ In order to do that, we have to add an `admin` section to our `manifest.xml` fil
<meta>
<!-- ... -->
</meta>
<setup>
<registrationUrl>http://127.0.0.1:8000/app/lifecycle/register</registrationUrl>
<secret>TestSecret</secret>
</setup>
<admin>
<base-app-url>http://127.0.0.1:8080</base-app-url>
</admin>
Expand Down

0 comments on commit 14675a4

Please sign in to comment.