{"id":21050272,"url":"https://github.com/7kfpun/adssamplereactnative","last_synced_at":"2026-02-13T06:42:09.714Z","repository":{"id":142005514,"uuid":"81230534","full_name":"7kfpun/AdsSampleReactNative","owner":"7kfpun","description":"[TALK] Link Ads to your React Native app in a nutshell.","archived":false,"fork":false,"pushed_at":"2017-02-08T15:52:52.000Z","size":79439,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-29T10:57:38.481Z","etag":null,"topics":["admob","audience-network","monetization","react-native","revmob"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7kfpun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-07T16:42:44.000Z","updated_at":"2022-10-13T03:09:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5312150-a988-4d3e-8742-e3e517364411","html_url":"https://github.com/7kfpun/AdsSampleReactNative","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/7kfpun/AdsSampleReactNative","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7kfpun%2FAdsSampleReactNative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7kfpun%2FAdsSampleReactNative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7kfpun%2FAdsSampleReactNative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7kfpun%2FAdsSampleReactNative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7kfpun","download_url":"https://codeload.github.com/7kfpun/AdsSampleReactNative/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7kfpun%2FAdsSampleReactNative/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29398144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admob","audience-network","monetization","react-native","revmob"],"created_at":"2024-11-19T15:26:06.690Z","updated_at":"2026-02-13T06:42:09.706Z","avatar_url":"https://github.com/7kfpun.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ads Sample - How to make money on your React Native app\n\n## React and React Native version\n\n* [react](https://github.com/facebook/react): 15.4.2\n* [react-native](https://github.com/facebook/react-native): 0.41.2\n\n## Ads Network\n\n- [AdMob](https://firebase.google.com/docs/admob/)\n\n  - [react-native-admob](https://github.com/sbugert/react-native-admob) - A react-native component for Google AdMob banners.\n\n  - Installation instructions for iOS\n\n    - Install and link react-native-admob\n\n      ```\n      npm install -S git://github.com/lucianomlima/react-native-admob.git#react-native_v0.40.0-fix\n\n      react-native link react-native-admob\n      ```\n\n    - Add [Google AdMob Framework](https://firebase.google.com/docs/admob/ios/download) to Xcode\n\n  - Installation instructions for Android\n\n    - Install and link react-native-admob\n\n      ```\n      npm install -S git://github.com/lucianomlima/react-native-admob.git#react-native_v0.40.0-fix\n\n      react-native link react-native-admob\n      ```\n\n    - Configure native projects\n\n      - Add to [android/settings.gradle](https://github.com/7kfpun/AdsSampleReactNative/blob/master/AdMobSample/android/settings.gradle#L4-L5)\n\n        ```\n        include ':react-native-admob'\n        project(':react-native-admob').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-admob/android')\n        ```\n\n      - Add to [android/app/build.gradle](https://github.com/7kfpun/AdsSampleReactNative/blob/master/AdMobSample/android/app/build.gradle#L129)\n\n        ```\n        dependencies {\n          ...\n          compile project(':react-native-admob')\n          ...\n        }\n        ```\n\n      - Add to android/app/src/main/java/com/adssample/MainApplication.java [1](https://github.com/7kfpun/AdsSampleReactNative/blob/master/AdMobSample/android/app/src/main/java/com/admobsample/MainApplication.java#L7), [2](https://github.com/7kfpun/AdsSampleReactNative/blob/master/AdMobSample/android/app/src/main/java/com/admobsample/MainApplication.java#L29)\n\n        ```\n        import com.sbugert.rnadmob.RNAdMobPackage;\n\n        new RNAdMobPackage()\n        ```\n\n- [Facebook Audience Network](https://developers.facebook.com/products/app-monetization/audience-network/)\n\n  - [react-native-fbads](https://github.com/callstack-io/react-native-fbads) - Facebook Audience SDK integration for React Native.\n\n  - Installation instructions for iOS\n\n    - Install and link react-native-fbads\n\n      ```\n      npm install -S react-native-fbads\n\n      react-native link react-native-fbads\n      ```\n\n    - Add Bolts.framework, FBSDKCoreKit.framework and FBAudienceNetwork.framework from [Facebook SDK for iOS](https://developers.facebook.com/docs/ios/getting-started)\n\n    - Add to AppDelegate.m file [1](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/ios/FbAdsSample/AppDelegate.m#L15), [2](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/ios/FbAdsSample/AppDelegate.m#L38)\n\n      ```\n      #import \u003cFBSDKCoreKit/FBSDKCoreKit.h\u003e\n\n      [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];\n      ```\n\n  - Installation instructions for Android\n\n    - Install and link react-native-fbads\n\n      ```\n      npm install -S react-native-fbads\n\n      react-native link react-native-fbads\n      ```\n\n    - Configure native projects\n\n      - Add to [android/settings.gradle](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/android/settings.gradle#L4-L5)\n\n        ```\n        include ':react-native-fbads'\n        project(':react-native-fbads').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fbads/src/android')\n\n        ```\n\n      - Add to [android/app/build.gradle](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/android/app/build.gradle#L129-L130)\n\n      ```\n      dependencies {\n        ...\n        compile project(':react-native-fbads')\n        compile 'com.facebook.android:facebook-android-sdk:4.+'\n        ...\n      }\n      ```\n\n      - Add to android/app/src/main/java/com/fbadssample/MainApplication.java [1](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/android/app/src/main/java/com/fbadssample/MainApplication.java#L12), [2](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/android/app/src/main/java/com/fbadssample/MainApplication.java#L29)\n\n      ```\n      import io.callstack.react.fbads.FBAdsPackage;\n\n      new FBAdsPackage()\n      ```\n\n      - Add to [android/app/src/main/AndroidManifest.xml](https://github.com/7kfpun/AdsSampleReactNative/blob/master/FbAdsSample/android/app/src/main/AndroidManifest.xml#L28-L30)\n\n      ```\n      \u003cactivity\n        android:name=\"com.facebook.ads.InterstitialAdActivity\"\n        android:configChanges=\"keyboardHidden|orientation\" /\u003e\n      ```\n\n- [Revmob](https://www.revmobmobileadnetwork.com)\n\n  - [react-native-revmob](https://github.com/RevMob/react-native-revmob)\n\n  - Installation instructions for iOS\n\n    - Install and link react-native-revmob\n\n      ```\n      npm install -S RevMob/react-native-revmob\n\n      react-native link react-native-revmob\n      ```\n\n    - Add the following frameworks to your XCode Project:\n      - RevMobAds.framework from [RevMob SDK for iOS](https://www.revmobmobileadnetwork.com/sdk/react)\n      - AdSupport.framework\n      - AVFoundation.framework\n      - CoreFoundation.framework (as optional)\n      - CoreLocation.framework\n      - Foundation.framework\n      - MediaPlayer.framework\n      - StoreKit.framework\n      - SystemConfiguration.framework\n\n## Running\n\n#### Clone \u0026 install\n\n* Clone this repo `git clone git@github.com:7kfpun/AdsReactNative.git`\n* `cd AdsReactNative/...Sample`\n* run `npm install || yarn install`\n\n#### iOS\n\n* Run `react-native run-ios`\n\n#### Android\n\n* Run `android avd` and start an emulator\n* Run `react-native run-android`\n\n## License\n\nReleased under the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7kfpun%2Fadssamplereactnative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7kfpun%2Fadssamplereactnative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7kfpun%2Fadssamplereactnative/lists"}