Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Aug 29, 2014 at 02:37 AM by Kiwasi for the following reason:

Problem is not reproducible

avatar image
0
Question by sagits4 · Aug 28, 2014 at 08:21 PM · facebookadmobandroid sdk

Google play services admob and facebook sdk together on android

Hi, i want to create a game with both admobs and facebook sdk for android. Ive been able to make them work alone using the official unity pluggins. But i dont know how unity will react to loading both plugins as they use the same manifest, same .project and a lot of other files with same name.

How can i prevent one plugin from overwriting the other files? And how should i create my manifest, just copy both plugins manifest contents to the same file should work? Thank you.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiwasi · Aug 29, 2014 at 02:37 AM 0
Share

Please don't come here asking about problems that might not exist. Try run both in the same project and see what happens. Then if there is a problem we will help you fix it.

avatar image sagits4 · Aug 29, 2014 at 04:48 AM 1
Share

Sorry, but i wont find the answer anywhere and my guess is that this is a question to be asked for every new unity developer. How to add two plugins that will overwrite its files?

1 Reply

  • Sort: 
avatar image
0

Answer by smallbit · Aug 29, 2014 at 02:18 AM

In my current project I have the following plugins:

Parse, Facebook, GameAnalytics, GoogleIAP, Chartboost

The only thing I needed to add was one permission from GoogleIAP to the manifest. Normally any plugin that requires to update the manifest will contain a file called Manifest.xml or AndroidManifest.xml in its directory static clearly which permissions needs to be added to android manifest. But many plugins use just common once like Internet etc.. so you don't need to edit manifest at all. The problem might arise when multiple plugins call Main or launcher action example here. If you claim your plugins work along fine, don't worry about manifest.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sagits4 · Aug 29, 2014 at 04:46 AM 0
Share

Thanks. I end up having to manually edit the manifest (one overwrited another) to add the activities (the permissions end up beeing the same), to do so i copied the first manifest before adding the second plugin. $$anonymous$$anually add the google play services lib to my project, and the google play services version to my res/values folder (this was discussed in another question).

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Can't build after importing facebok SDK 7.10.0 2 Answers

Aftering adding admob plugin i get error when building : Failed to repackage resources 1 Answer

Facebook SDK error because Duplicate Library with difference Version 0 Answers

how do i get OpenSSL for android build facebook setting? 2 Answers

Error while using Facebook sdk and google Admob ad plugin 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges