Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 3.82 KB

README.md

File metadata and controls

60 lines (46 loc) · 3.82 KB

##Instabug for Xamarin You can use Instabug native SDK as a Binding library in your solution, following is how to:

  • Integrate Instabug in your Android project.
  • Integrate Instabug in your iOS project.

##How to integrate Instabug in your Xamarin Android Application.

  1. Add existing Instabug-Android-SDK to your solution. 1
  2. Add required depencies as a references to InstabugAndroidSDK.
  • android support version 4
  • android support version 7 appcompat
  • google play services maps
  • google play service GCM 2
  1. Add Instabug-Android-SDK as a reference to your Android project. 3

  2. Add required depencies as a references to your Android Project.

  • android support version 4
  • android support version 7 appcompat
  • google play services maps
  • google play service GCM

4

  1. Re build your project, Start Use Instabug. 5

How to integrate Instabug in Xamarin iOS Application

  1. Add Instabug binding project to your project solution (Say MyApplication) After downloading the project (InstabugIOSSDK), right click on solution name and select Add > Add Existing Project, navigate to downloaded project and select it "InstabugIOSSDK.csproj". Add Project Select Instabug

  2. Link Instabug to your project. Now we need to link Instabug to our application. So we are going to edit MyApplication project References and from "All" check InstabugIOSSDK. References iOSSDK

  3. Add Instabug dependencies to MyApplication. Instabug needs some iOS frameworks to build. We are going to add them. Right click on your project name and select "Options". From left tabs select "Build" > "iOS Build". Now Copy following and paste in Additional mtouch arguments field.

-gcc_flags="-framework CoreGraphics -framework AVFoundation -framework CoreMotion -framework CoreTelephony -framework SystemConfiguration -framework MessageUI -framework MobileCoreServices -framework AudioToolbox -framework QuartzCore -framework CoreLocation -framework CoreGraphics -framework CoreVideo -framework CoreMedia -lstdc++"

iOS Build iOS Build

Important You have to add additional flags for all build configurations Degub/Release iPhone/Simulator Important

  1. Build InstabugIOSSDK project. Build Binding Project

  2. Now you are ready to use Instabug in your project. Use Instabug

voilà file16