我试图在"firebase"认证的帮助下在我的离子3应用程序中实现社交登录.我跟着这个艺术的https://javebratt.com/ionic-social-login-firebase/
我安装了所有的插件(cordova-plugin-browsertab,cordova-plugin-inappbrowser ..etc)并完成了与文章完全相同的操作.
然后我在android和ios设备上运行了应用程序.在Android设备中,facebook/google登录页面在"在应用程序浏览器中"打开,并在登录过程后成功重定向到应用程序.一切正常.
但在iPhone中,facebook/google登录页面在新的safari浏览器实例中打开,登录后重定向到localhost,并且不会重定向回应用程序.
谁能帮我这个?
谢谢
我格式化了我的计算机并再次导入了我的Android项目,该项目已经使用Google Maps API V2完成并发现了许多错误.我重新链接了google_play_services_lib和android-support-v7-appcompat.I仍然在导入com.google时发现错误. android.gms.location.LocationClient.Only"LocationClient"的调用给出错误,其他导入正常.
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesClient;
(ERROR)import com.google.android.gms.location.LocationClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.maps.CameraUpdate;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.GoogleMap.OnMapLongClickListener;
import com.google.android.gms.maps.MapView;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;
Run Code Online (Sandbox Code Playgroud)
并且在我使用R.调用的任何地方发现错误.错误:R无法解析为变量
setContentView(R.layout.activity_main);
EditText et = (EditText) findViewById(R.id.editText1);
并在控制台中收到以下错误.
[2014-12-19 23:22:44 - MapsProject] C:\Users\Sudesh\Android_Workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:121: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
[2014-12-19 23:22:44 - MapsProject]
[2014-12-19 23:22:44 - MapsProject] C:\Users\Sudesh\Android_Workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:119: error: Error: No resource found that matches the given …Run Code Online (Sandbox Code Playgroud) android android-appcompat r.java-file google-play-services location-client