Google admob with react-native version 0.57
I tried to integrate google admob with react-native 0.57 but I had some problems.
Can someone help me writing all the steps to have a working google admob banner in react-native?
P.S. : I am developing app for android devices
android react-native admob version
add a comment |
I tried to integrate google admob with react-native 0.57 but I had some problems.
Can someone help me writing all the steps to have a working google admob banner in react-native?
P.S. : I am developing app for android devices
android react-native admob version
add a comment |
I tried to integrate google admob with react-native 0.57 but I had some problems.
Can someone help me writing all the steps to have a working google admob banner in react-native?
P.S. : I am developing app for android devices
android react-native admob version
I tried to integrate google admob with react-native 0.57 but I had some problems.
Can someone help me writing all the steps to have a working google admob banner in react-native?
P.S. : I am developing app for android devices
android react-native admob version
android react-native admob version
edited Nov 14 '18 at 23:34
Daniele Menchetti
asked Nov 14 '18 at 10:14
Daniele MenchettiDaniele Menchetti
86
86
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Here are a great text about this
https://medium.com/@TarikHajji/add-admob-to-react-native-app-5b1e91be459
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
|
show 22 more comments
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53297730%2fgoogle-admob-with-react-native-version-0-57%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here are a great text about this
https://medium.com/@TarikHajji/add-admob-to-react-native-app-5b1e91be459
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
|
show 22 more comments
Here are a great text about this
https://medium.com/@TarikHajji/add-admob-to-react-native-app-5b1e91be459
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
|
show 22 more comments
Here are a great text about this
https://medium.com/@TarikHajji/add-admob-to-react-native-app-5b1e91be459
Here are a great text about this
https://medium.com/@TarikHajji/add-admob-to-react-native-app-5b1e91be459
answered Nov 14 '18 at 11:55
Sergio ClementeSergio Clemente
10115
10115
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
|
show 22 more comments
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Thank you for your answer. I forget to say that I develop my app for android devices, can you help me ?
– Daniele Menchetti
Nov 14 '18 at 23:32
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Sure. You install react-native-admob plugin and configured with your account data ? What error appear?
– Sergio Clemente
Nov 15 '18 at 0:44
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Here what I've done: 1) react-native init testAd --version 0.55.2 2) npm i react-native-admob -S 3) react-native link 4) react-native run-android ERROR: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-admob'. > Could not resolve all dependencies for configuration ':react-native-admob:_debugPublishCopy'. > Could not find com.google.android.gms:play-services-ads-lite:12.0.1.
– Daniele Menchetti
Nov 15 '18 at 20:56
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Try npm install --save react-native-admob@next , react-navigation link react-native-admob
– Sergio Clemente
Nov 15 '18 at 22:20
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
Having the same problemo :(
– Daniele Menchetti
Nov 15 '18 at 22:28
|
show 22 more comments
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53297730%2fgoogle-admob-with-react-native-version-0-57%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown