Skip to content

Commit

Permalink
Make Changes to able to run from flutter. (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f authored Sep 11, 2023
1 parent 6b0fdb4 commit 467905b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .run/main.dart.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter">
<option name="additionalArgs" value="--dart-define=INTERSTITIAL_AD_UNIT_ID=ca-app-pub-2685698271254859/9922829329 --dart-define=DD_APPLICATION_ID=f8eabf3c-5db3-4f7e-8e6a-5a72433b46d2 --dart-define=DD_CLIENT_TOKEN=puba617ab01333a95a25a9d3709f04e1654" />
<option name="buildFlavor" value="prod" />
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
<method v="2" />
</configuration>
</component>
4 changes: 2 additions & 2 deletions lib/ad_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ enum AdType { Google, CAS }
const privacyPolicy = 'https://lantern.io/privacy';

const googleAttributes = {
'provider': AdType.Google,
'provider': "Google",
};

const casAttributes = {
'provider': AdType.CAS,
'provider': "CAS",
};

class AdHelper {
Expand Down
5 changes: 2 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ flutter:
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true

module:
androidX: true
# module:
# androidX: true

# To add assets to your application, add an assets section, like this:
assets:
Expand Down

0 comments on commit 467905b

Please sign in to comment.