Skip to content

Commit

Permalink
Add docs for Flutter Web on Flutter 4.0
Browse files Browse the repository at this point in the history
Extension of #456; needed to request review from SDK team and address comments.
  • Loading branch information
chungdaniel authored Jan 14, 2025
1 parent 228ccc9 commit 9ce4feb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Open `Podfile` and update:

Run `pod install` under the ios directory of your Flutter project to update the CocoaPods dependencies.

For Flutter Web, replace the Amplitude-JavaScript snippet located at `web/index.html` with the following Browser SDK 2 snippet:
For Flutter Web, replace the "Amplitude-JavaScript" snippet located at `web/index.html` with the following "Browser SDK 2" snippet:
```html
<script type="text/javascript">
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:{}}
Expand Down

0 comments on commit 9ce4feb

Please sign in to comment.